Sha256: 66d6d315fa8bbe897a3f96386eb1267259ed736b6b5badca34af1177ea5ca6c1
Contents?: true
Size: 1.41 KB
Versions: 2
Compression:
Stored size: 1.41 KB
Contents
<%= render 'fae/shared/index_header', title: "#{@klass_humanized.pluralize}" %> <div class="main_content-sections"> <section class="main_content-section"> <div class="content"> <table class="main_content-sortable"> <thead> <tr> <th class="main_content-sortable-handle-col"></th> <th>Name</th> <th class="-thumb">Image</th> <th class="-action-wide">Modified</th> <th class="-action-wide" data-sorter="false">On Stage</th> <th class="-action-wide" data-sorter="false">On Prod</th> <th class="-action" data-sorter="false"></th> </tr> </thead> <tbody> <% @items.each do |item| %> <tr id="<%= "#{@klass_singular}_#{item.id}" %>"> <td class="main_content-sortable-handle"> <span class="icon-sort"></span> </td> <td><%= link_to item.name, edit_admin_person_path(item.id) %></td> <td><%= image_tag item.image.asset.thumb.url if item.image.present? && item.image.asset.present? %></td> <td><%= fae_date_format item.updated_at %></td> <td><%= fae_toggle item, :on_stage %></td> <td><%= fae_toggle item, :on_prod %></td> <td><%= fae_delete_button item %></td> </tr> <% end %> </tbody> </table> </div> </section> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fae-rails-1.6.0 | spec/dummy/app/views/admin/people/index.html.erb |
fae-rails-1.5.1 | spec/dummy/app/views/admin/people/index.html.erb |