Sha256: 91bf2d046ae792d8e16348f04e1797ff29e027b1c5ba22fc17875eecbd44ffeb
Contents?: true
Size: 1.01 KB
Versions: 11
Compression:
Stored size: 1.01 KB
Contents
.page-header %h1 = link_to 'New Event', new_event_path, :class => 'btn btn-success pull-right' Events - if @events.any? .table-responsive %table.table.table-bordered.table-striped %thead %tr %th Title %th.text-center Photos %th.text-center Actions %tbody - @events.each do |e| %tr %td= link_to e.title, e %td.text-center %span.badge = e.gallery.photos.count Regular %span.badge = e.custom_gallery.photos.count Custom %td.text-center = link_to edit_event_path(e), :class => 'btn btn-default btn-xs' do %span.glyphicon.glyphicon-edit = link_to e, :class => 'btn btn-default btn-xs', :method => :delete, :data => {:confirm => 'Are you sure?'} do %span.glyphicon.glyphicon-trash - else .jumbotron.text-center %h1 Nothing to show. %p There are no events yet!
Version data entries
11 entries across 11 versions & 1 rubygems