Sha256: f1f8c1f6fdd51fca8e5c26956303bec9f68955b97e1e133b3fe64354b669a0db

Contents?: true

Size: 1.66 KB

Versions: 3

Compression:

Stored size: 1.66 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">

<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') -%></th>
    <th><%= 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><%= link_to medium_of_performance.name, medium_of_performance -%></td>
    <td><%= link_to medium_of_performance.display_name.localize, medium_of_performance -%></td>
    <td><%= 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, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= paginate(@medium_of_performances) -%>
</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <li><%= link_to t('page.new', :model => t('activerecord.models.medium_of_performance')), new_medium_of_performance_path -%></li>
  </ul>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre55 app/views/medium_of_performances/index.html.erb
enju_biblio-0.1.0.pre54 app/views/medium_of_performances/index.html.erb
enju_biblio-0.1.0.pre53 app/views/medium_of_performances/index.html.erb