Sha256: a306063829c53e86c4fb2c5e742185845a7b238d6384efafdfe93b78387c7a36

Contents?: true

Size: 1.32 KB

Versions: 10

Compression:

Stored size: 1.32 KB

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<h1 class="title"><%= t('page.showing', model: t('activerecord.models.subject')) -%></h1>
<div id="content_list">
<p id="notice"><%= notice %></p>

<h2 class="resource_title">
  [S]
  <%= @subject.term -%>
</h2>

  <p>
    <strong><%= t('activerecord.models.subject_heading_type') -%>:</strong>
    <%= link_to @subject.subject_heading_type.display_name.localize, @subject.subject_heading_type -%>
  </p>

  <p>
    <strong><%= t('activerecord.models.subject_type') -%>:</strong>
    <%= link_to @subject.subject_type.display_name.localize, @subject.subject_type -%>
  </p>

  <p>
    <strong><%= t('activerecord.attributes.subject.term_transcription') -%>:</strong>
    <%= @subject.term_transcription -%>
  </p>

  <p>
    <strong><%= t('activerecord.attributes.subject.note') -%>:</strong>
    <%= @subject.note -%>
  </p>
</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <li><%= back_to_index(flash[:page_info]) -%></li>
    <% if can? :update, @subject %>
      <li><%= link_to t('page.edit'), edit_subject_path(@subject) -%></li>
    <% end %>
    <% if can? :delete, @subject %>
      <li><%= link_to t('page.destroy'), subject_path(@subject), data: {confirm: t('page.are_you_sure')}, method: :delete -%></li>
    <% end %>
  </ul>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
enju_subject-0.1.1 app/views/subjects/show.html.erb
enju_subject-0.1.0 app/views/subjects/show.html.erb
enju_subject-0.1.0.pre34 app/views/subjects/show.html.erb
enju_subject-0.1.0.pre33 app/views/subjects/show.html.erb
enju_subject-0.1.0.pre32 app/views/subjects/show.html.erb
enju_subject-0.1.0.pre31 app/views/subjects/show.html.erb
enju_subject-0.1.0.pre30 app/views/subjects/show.html.erb
enju_subject-0.1.0.pre29 app/views/subjects/show.html.erb
enju_subject-0.1.0.pre28 app/views/subjects/show.html.erb
enju_subject-0.1.0.pre27 app/views/subjects/show.html.erb