Displaying 3 results from an estimated 3 matches for "_sidebar".
Did you mean:
sidebar
2006 Feb 27
1
@content_for_sidebar?
Okay, I see this instance variable places, but I can not determine if it is real
or where the content comes from. I''ve tried views/<controller>/sidebar.rhtml,
_sidebar.rhtml, views/layouts/sidebar.rhtml and views/layouts/_sidebar.rhtml.
Does this actually exist? What''s the Rails Way to make a good sidebar?
http://www.google.com/search?q=content_for_sidebar
Thanks,
--Dean
--
Take your time, take your chances
[3278.7 km, 273.4] Apparent Rennerian
-----...
2010 Aug 13
0
Rails 2 and Rails 3 in the same gemset leads to errors
...mydomain.org/.rvm/gems/ruby-1.8.7-p299/gems/activerecord-2.3.5/lib/
active_record/i18n_interpolation_deprecation.rb:17)
ActionView::TemplateError (missing interpolation argument in "%m/%
{count}/%Y %I:%M %p" ({:object=>Fri Aug 13 16:15:41 +0200 2010}
given)) on line #4 of app/views/my/_sidebar.rhtml:
1: <h3><%=l(:label_my_account)%></h3>
2:
3: <p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br />
4: <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
5:
6:
7: <h4><%= l(:label_fee...
2006 Apr 22
3
quick ''link_to_remote'' question
Hi all
i''m using link_to_remote to render different sets of text-input fields.
i''m setting up links in a sidebar to do this
so, in my _sidebar.rhtml i have
<%= SidebarItem(''catalogue'') %>
this works...(in works.helper.rb)
def SidebarItem(name)
link_to_remote "#{name}",
:update => ''EditFields'',
:url=> {:action => name, :id => @work.id, :l...