Sha256: a68756145ae0e4e9a8fe2a330f637c1482d249d45e3c9df133d298efc6316fb0
Contents?: true
Size: 1.26 KB
Versions: 68
Compression:
Stored size: 1.26 KB
Contents
<h1>Listing Slideshows <small><%= @arm.title %></small></h1> <div class="btn-toolbar" role="toolbar"> <%= link_to "Arm", (defined?(think_feel_do_dashboard) ? think_feel_do_dashboard.arm_path(@arm) : "#"), class: "btn btn-default" %> <%= link_to "New", new_arm_bit_maker_slideshow_path(@arm), class: "btn btn-default" %> </div> <table class="table table-hover"> <thead> <tr> <th>Title</th> <th>No. of Slides</th> <th>Created At</th> <th>Updated At</th> <th></th> </tr> </thead> <tbody> <% @slideshows.each do |slideshow| %> <tr id="slideshow-<%= slideshow.id %>"> <td> <%= link_to slideshow.pretty_title, arm_bit_maker_slideshow_path(@arm, slideshow) %> </td> <td><%= slideshow.slides.count %></td> <td><%= slideshow.created_at.to_s :standard %></td> <td><%= slideshow.updated_at.to_s :standard %></td> <td> <%= link_to "Edit", edit_arm_bit_maker_slideshow_path(@arm, slideshow), class: "btn btn-default" %> <%= link_to "Delete", arm_bit_maker_slideshow_path(@arm, slideshow), :method => :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %> </td> </tr> <% end %> </tbody> </table> <script> $(function() { return $('table').dataTable({ iDisplayLength: 25 }); }); </script>
Version data entries
68 entries across 68 versions & 1 rubygems