Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="sectionheader rightcol_red">
- <h1>Specials</h1>
- <ul>
- <li><%= link_to 'View all specials', business_specials_url(@the_user.link_name) %></li>
- <li class="right">
- <% 0.upto(6) do |day| %>
- <% if @the_user.specials_by_day[day] %>
- <span<%= ' class="current"' if day == Date.today.wday %>><%= link_to_function Date::DAYNAMES[day].first(3), "showSpecials(this, #{day})" %></span>
- <% end %>
- <% end %>
- </li>
- </ul>
- </div>
Add Comment
Please, Sign In to add comment