Sha256: 558e1314c7680c60f8d5a4ee302df0d773ec879218b07a7df2666f674921d118

Contents?: true

Size: 1.19 KB

Versions: 14

Compression:

Stored size: 1.19 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.work_has_subject')) -%></h1>
<div id="content_list">

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.models.subject') -%></th>
    <th><%= t('activerecord.attributes.work_has_subject.work') -%></th>
  </tr>

<%- @work_has_subjects.each do |work_has_subject| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= link_to work_has_subject.subject.term, work_has_subject.subject -%></td>
    <!-- TODO: Manifestation以外 -->
    <td><%= link_to work_has_subject.work.original_title, work_has_subject.work -%></td>
    <td><%= link_to t('page.show'), work_has_subject -%></td>
    <td><%= link_to t('page.edit'), edit_work_has_subject_path(work_has_subject) -%></td>
    <td><%= link_to t('page.destroy'), work_has_subject, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></td>
  </tr>
<%- end -%>
</table>

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

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

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
enju_trunk_subject-1.0.4 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre13 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre12 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre11 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre10 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre9 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre8 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre7 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre6 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre5 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre4 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre3 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre2 app/views/work_has_subjects/index.html.erb
enju_subject-0.1.0.pre app/views/work_has_subjects/index.html.erb