From: Rohit Coder Date: 2013-05-28T03:51:36+09:00 Subject: Re: How to show menu in application.html.erb on other pages? --_467ab5d7-e335-4495-a863-ab038ac8a4f4_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Yes Schroeder=2C I referred Rails documentation but I am not able to solve = my requirement. > Date: Tue=2C 28 May 2013 03:40:31 +0900 > From: hassan.schroeder@gmail.com > Subject: Re: How to show menu in application.html.erb on other pages? > To: ruby-talk@ruby-lang.org >=20 > On Mon=2C May 27=2C 2013 at 10:57 AM=2C Rohit Coder > wrote: > > I am using Aptana Studio 3 to write a small application. >=20 > ProTip: no one cares what editor you're using. >=20 > > In the Views folder=2C I added a new .html.erb page and added a jQuery > > navigation menu bar. This page also has a banner. I want to keep this a= s a > > base page (like Master Page in .NET) for all the other pages. > > I want all the other pages to automatically show the banner and menu ba= r on > > top. >=20 > Your primary layout file=2C by default application.html.erb=2C is there t= o > wrap page-specific content. You can include and position elements > in that layout however you choose. >=20 > Have you worked through a Rails tutorial yet? >=20 > --=20 > Hassan Schroeder ------------------------ hassan.schroeder@gmail.com > http://about.me/hassanschroeder > twitter: @hassan >=20 = --_467ab5d7-e335-4495-a863-ab038ac8a4f4_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Yes Schroeder=2C I referred Rail= s documentation but I am not able to solve my requirement.

>= =3B Date: Tue=2C 28 May 2013 03:40:31 +0900
>=3B From: hassan.schroede= r@gmail.com
>=3B Subject: Re: How to show menu in application.html.erb= on other pages?
>=3B To: ruby-talk@ruby-lang.org
>=3B
>=3B= On Mon=2C May 27=2C 2013 at 10:57 AM=2C Rohit Coder
>=3B <=3Bpassio= nate_programmer@hotmail.com>=3B wrote:
>=3B >=3B I am using Aptana= Studio 3 to write a small application.
>=3B
>=3B ProTip: no one= cares what editor you're using.
>=3B
>=3B >=3B In the Views f= older=2C I added a new .html.erb page and added a jQuery
>=3B >=3B n= avigation menu bar. This page also has a banner. I want to keep this as a>=3B >=3B base page (like Master Page in .NET) for all the other page= s.
>=3B >=3B I want all the other pages to automatically show the ba= nner and menu bar on
>=3B >=3B top.
>=3B
>=3B Your primar= y layout file=2C by default application.html.erb=2C is there to
>=3B w= rap page-specific content. You can include and position elements
>=3B = in that layout however you choose.
>=3B
>=3B Have you worked thr= ough a Rails tutorial yet?
>=3B
>=3B --
>=3B Hassan Schroe= der ------------------------ hassan.schroeder@gmail.com
>=3B http://ab= out.me/hassanschroeder
>=3B twitter: @hassan
>=3B
=
= --_467ab5d7-e335-4495-a863-ab038ac8a4f4_--