Sha256: 5e8937436f2fbe371dd62e559fc3e1be49ce38baa93461501c53c2af670c6400
Contents?: true
Size: 1.08 KB
Versions: 20
Compression:
Stored size: 1.08 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <h1 class="title"><%= t('page.listing', model: t('activerecord.models.create')) -%></h1> <div id="content_list"> <table class="table table-striped index"> <tr> <th><%= t('activerecord.models.agent') -%></th> <th><%= t('activerecord.models.work') -%></th> <th></th> </tr> <%- @creates.each do |create| -%> <tr class="line<%= cycle("0", "1") -%>"> <td><%= link_to create.agent.full_name, create.agent -%></td> <td><%= link_to create.work.original_title, create.work -%></td> <td> <%- if can? :delete, create -%> <%= link_to t('page.show'), create -%> <%= link_to t('page.destroy'), create, data: {confirm: t('page.are_you_sure')}, method: :delete -%> <%- end -%> </td> </tr> <%- end -%> </table> <%= paginate(@creates) -%> </div> </div> <div id="submenu" class="ui-corner-all ui-widget-content"> <%- if can? :create, Create -%> <ul> <li><%= link_to t('page.new', model: t('activerecord.models.create')), new_create_path -%></li> </ul> <%- end -%> </div>
Version data entries
20 entries across 20 versions & 1 rubygems