Sha256: 51b73af937d16bdc750b15e27096caa926c2ed8742ada9a19b2159bceee0c4ca

Contents?: true

Size: 654 Bytes

Versions: 21

Compression:

Stored size: 654 Bytes

Contents

- title_bar "Channels", [{"title"=>"New Channel", "url"=>new_channel_path}]

%div#active_admin_content.without_sidebar
  - main_content "Channels List" do
    - index_table ["Title", "Created", "Updated", "", "", ""] do
      - @channels.each_with_index do |channel, i|
        %tr{:class=>cycle( "odd", "even") }
          %td= channel.name
          %td= channel.created_at.strftime("%b %e, %l:%M %p")
          %td= channel.updated_at.strftime("%b %e, %l:%M %p")
          %td= link_to 'Show', channel
          %td= link_to 'Edit', edit_channel_path(channel)
          %td= link_to 'Destroy', channel, :confirm => 'Are you sure?', :method => :delete

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ems-0.1.12 app/views/ems/channels/index.html.haml
ems-0.1.11 app/views/ems/channels/index.html.haml
ems-0.1.10 app/views/ems/channels/index.html.haml
ems-0.1.9 app/views/ems/channels/index.html.haml
ems-0.1.8 app/views/ems/channels/index.html.haml
ems-0.1.7 app/views/ems/channels/index.html.haml
ems-0.1.6 app/views/ems/channels/index.html.haml
ems-0.1.5 app/views/ems/channels/index.html.haml
ems-0.1.4 app/views/ems/channels/index.html.haml
ems-0.1.3 app/views/ems/channels/index.html.haml
ems-0.1.2 app/views/ems/channels/index.html.haml
ems-0.1.1 app/views/ems/channels/index.html.haml
ems-0.1.0 app/views/ems/channels/index.html.haml
ems-0.0.9 app/views/ems/channels/index.html.haml
ems-0.0.8 app/views/ems/channels/index.html.haml
ems-0.0.7 app/views/ems/channels/index.html.haml
ems-0.0.6 app/views/ems/channels/index.html.haml
ems-0.0.5 app/views/ems/channels/index.html.haml
ems-0.0.4 app/views/ems/channels/index.html.haml
ems-0.0.3 app/views/ems/channels/index.html.haml