Sha256: 9b0a86c6cbf8f4f40ed26db4eb7622f827acc5d6064e53531dd1351f2b3410da
Contents?: true
Size: 1.73 KB
Versions: 19
Compression:
Stored size: 1.73 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <h1 class="title"><%= t('page.listing', model: t('activerecord.models.medium_of_performance')) -%></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.medium_of_performance.name') -%></th> <th> <%= t('activerecord.attributes.medium_of_performance.display_name') -%> / <%= t('activerecord.attributes.medium_of_performance.note') -%> </th> <th></th> </tr> <%- @medium_of_performances.each do |medium_of_performance| -%> <tr class="line<%= cycle("0", "1") -%>"> <td> <%- if can? :update, medium_of_performance -%> <%= move_position(medium_of_performance) -%> <%- end -%> </td> <td><%= medium_of_performance.name -%></td> <td> <%= link_to medium_of_performance.display_name.localize, medium_of_performance -%> <br /> <%= medium_of_performance.note %> </td> <td> <%- if can? :update, medium_of_performance -%> <%= link_to t('page.edit'), edit_medium_of_performance_path(medium_of_performance) -%> <% end %> <%- if can? :delete, medium_of_performance -%> <%= link_to t('page.destroy'), medium_of_performance_path(medium_of_performance), 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, MediumOfPerformance -%> <li><%= link_to t('page.new', model: t('activerecord.models.medium_of_performance')), new_medium_of_performance_path -%></li> <%- end -%> </ul> </div>
Version data entries
19 entries across 19 versions & 1 rubygems