Re: left menu for Fedena Project

Miquel Cubel
2011-08-16T09:16:49Z

Hi,

     You have to create a partial view with the content for the menu...
example:
     "/app/views/shared/_menu_left.erb"... there you can put your
content for the menu.

     Later in the file
     "/app/views/layouts/application.html.erb"

      You have to call the partial (just take in consideration html and
some conditions like user logged in...)... example:
     "<%= render(:partial => "shared/_menu_left.erb")
%>"

     There are many other solutions... as usually depends on the project
and the requirements.

     I hope it will help you,

El 16/08/2011 10:37, honey ruby escribió:
> i wanna add left menu in the http://demo.projectfedena.org/
> login:admin password:admin123  as there is no left menu in that i
> thought of adding a left menu. can any one tell how to do that with
> ROR.
>

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.