Sha256: 2792e80c6a56e10733cc1470fae099a705e3e7abf2feca892cb150bf7e26af61
Contents?: true
Size: 1.42 KB
Versions: 2
Compression:
Stored size: 1.42 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <h1 class="title"><%= t('page.listing', model: t('activerecord.models.extent')) -%></h1> <div id="content_list"> <p id="notice"><%= notice %></p> <table class="table table-striped index"> <tr> <th id="position"></th> <th><%= t('activerecord.attributes.extent.name') -%></th> <th> <%= t('activerecord.attributes.extent.display_name') -%> / <%= t('activerecord.attributes.extent.note') -%> </th> <th></th> </tr> <%- @extents.each do |extent| -%> <tr class="line<%= cycle("0", "1") -%>"> <td> <%- if can? :update, extent -%> <%= move_position(extent) -%> <%- end -%> </td> <td><%= extent.name -%></td> <td> <%= link_to extent.display_name.localize, extent -%> <br /> <%= extent.note %> </td> <td> <%- if can? :update, extent -%> <%= link_to t('page.edit'), edit_extent_path(extent) -%> <% end %> <%- if can? :delete, extent -%> <%= link_to t('page.destroy'), extent_path(extent), data: {confirm: t('page.are_you_sure')}, method: :delete -%> <%- end -%> </td> </tr> <%- end -%> </table> </div> </div> <div id="submenu" class="ui-corner-all ui-widget-content"> <ul> <%- if can? :create, Extent -%> <li><%= link_to t('page.new', model: t('activerecord.models.extent')), new_extent_path -%></li> <%- end -%> </ul> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enju_biblio-0.1.0.pre58 | app/views/extents/index.html.erb |
enju_biblio-0.1.0.pre57 | app/views/extents/index.html.erb |