Displaying 1 result from an estimated 1 matches for "button_background".
2006 Jan 02
3
best to integrate dynamic navbar into layout
...s how I did it,
please let me know if there is a better way. Rails makes so many things
simple, that this seems very awkward.
In my layout:
<%= navigation_bar %>
In my application_helper.rb
if @current_page == :home
@home_link = ''<td width="80" class="button_background"><a
href="/store/home"><img name="home" border="0"
src="/images/home_dark.gif" alt="home"></a></td>''
else
@home_link = ''<td width="80" class="button_background"
va...