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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.