# Form you need to place on all your pages

**URL:** <https://www.ruby-forum.com/t/form-you-need-to-place-on-all-your-pages/87704>\
**Category:** Rails\
**Created:** [March 5, 2007, 12:09pm UTC](https://www.ruby-forum.com/t/form-you-need-to-place-on-all-your-pages/87704 "2007-03-05T12:09:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [March 5, 2007, 12:09pm UTC](https://www.ruby-forum.com/t/form-you-need-to-place-on-all-your-pages/87704/1 "2007-03-05T12:09:13Z")

</div>

Hi all,

I’ wondering how you handle your login/logout form for your website. A  
login/logout form is something you sometimes place on almost all  
pages. How do you handle this? Do you make a shared partial or is  
there an other and better way to show this on all your pages?

Thanks  
Stijn

---

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [March 5, 2007, 12:24pm UTC](https://www.ruby-forum.com/t/form-you-need-to-place-on-all-your-pages/87704/2 "2007-03-05T12:24:15Z")

</div>

Tarscher wrote:

> Hi all,
> 
> I’ wondering how you handle your login/logout form for your website. A  
> login/logout form is something you sometimes place on almost all  
> pages. How do you handle this? Do you make a shared partial or is  
> there an other and better way to show this on all your pages?
> 
> Thanks  
> Stijn

\<%= render :partial =\> “/controllerWhereTheLoginPartialIs/partial\_name”  
%\>

pretty simple hein ?  
partial arent attach to any controller or smth, you can call them from  
anywhere

---

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [March 5, 2007, 4:40pm UTC](https://www.ruby-forum.com/t/form-you-need-to-place-on-all-your-pages/87704/3 "2007-03-05T16:40:54Z")

</div>

On Mar 5, 5:08 am, “Tarscher” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi all,
> 
> I’ wondering how you handle your login/logout form for your website. A  
> login/logout form is something you sometimes place on almost all  
> pages. How do you handle this? Do you make a shared partial or is  
> there an other and better way to show this on all your pages?
> 
> Thanks  
> Stijn

If you really want it on all of your pages, you can just render it  
from within your layout.

Jeff

> **[Hey Daddio!](http://softiesonrails.com)**
>
> Home of Hey Daddio Software
