Sha256: f9548215042472479478d34619afb13a6b4f7d75fb03a3339295f794b0f8b5a9

Contents?: true

Size: 1.63 KB

Versions: 6

Compression:

Stored size: 1.63 KB

Contents

<div id="content_detail" class="ui-corner-all">
<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? :destroy, 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>

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

<div id="submenu" class="ui-corner-all">
  <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

6 entries across 6 versions & 1 rubygems

Version Path
enju_biblio-0.0.9 app/views/medium_of_performances/index.html.erb
enju_biblio-0.0.8 app/views/medium_of_performances/index.html.erb
enju_biblio-0.0.7 app/views/medium_of_performances/index.html.erb
enju_biblio-0.0.6 app/views/medium_of_performances/index.html.erb
enju_biblio-0.0.5 app/views/medium_of_performances/index.html.erb
enju_biblio-0.0.4 app/views/medium_of_performances/index.html.erb