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