Sha256: 702ee6335181234e9a377d6248131cbb1489046122425b09e52b9f3a9e06368f

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

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

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

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

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

<p>
  <strong><%= t('activerecord.attributes.classification.url') -%>:</strong>
  <%= link_to @classification.url, @classification.url if @classification.url %>
</p>

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

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <%- if can? :update, @classification -%>

      <li><%= link_to t('page.edit'), edit_classification_path(@classification) %></li>
    <%- end -%>
    <li><%= back_to_index(flash[:page_info]) -%></li>
  </ul>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_subject-0.1.1 app/views/classifications/show.html.erb
enju_subject-0.1.0 app/views/classifications/show.html.erb
enju_subject-0.1.0.pre34 app/views/classifications/show.html.erb