candychang/bernal-heights

View on GitHub
app/views/layouts/_event_list.html.haml

Summary

Maintainability
Test Coverage
%table#events{:class => "table table-striped table-condensed "}
  %thead
    %tr
      %th.text-nowrap Event Name
      %th.text-nowrap More Info
  %tbody
    - @todays_events.each do |event|
      %tr
        %td= link_to "#{event.name}", event_path(event)
        //%td= link_to "More about #{event.name}", event_path(event)
        %td Show event details will be here