Sha256: 7be4779441b1127e67aab70f8384ac6cebe96520e6977838fbbcc67ca1cac0b8

Contents?: true

Size: 856 Bytes

Versions: 6

Compression:

Stored size: 856 Bytes

Contents

.yui-b
  = render :partial => 'shared/admin_nav'

#yui-main
  .yui-b
    -box do 
      %h3=:events.l

      %table{:width=>"100%"}
        %tr 
          %th=:name.l
          %th=:metro_area.l
          %th=:when.l
          %th=:actions.l

        - for event in @events
          %tr
            %td= event.name
            %td= event.try(:metro_area).try(:name)
            %td=h event.time_and_date
            %td
              = link_to :show.l, event_path(event)
              | 
              = link_to :edit.l, edit_event_path(event)
              |
              = link_to :clone.l, clone_event_path(event)
              |
              = link_to :destroy.l, event_path(event), :confirm => :are_you_sure.l, :method => :delete

      %p= link_to :new_event.l, new_event_path

    .pagination=paginating_links @events if @events.total_count > 1

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/admin/events.html.haml
community_engine-2.3.1 app/views/admin/events.html.haml
community_engine-2.3.0 app/views/admin/events.html.haml
community_engine-2.1.0 app/views/admin/events.html.haml
community_engine-2.0.0 app/views/admin/events.html.haml
community_engine-2.0.0.beta3 app/views/admin/events.html.haml