Sha256: bd736161689f1772d44068574936784305ef00f5ed4f33543af856ec1ca9bed5

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

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

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

<p>
  <strong><%= t('activerecord.attributes.carrier_type.display_name') -%>:</strong>
  <%= @carrier_type.display_name.localize -%>
</p>

<% if defined?(EnjuCirculation) %>
  <p>
    <strong><%= t('activerecord.models.checkout_type') -%>:</strong>
  </p>
  <ul>
    <% @carrier_type.checkout_types.each do |checkout_type| %>
      <li><%= link_to checkout_type.display_name.localize, checkout_type %></li>
    <% end %>
  </ul>
<% end %>

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

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <%- if policy(@carrier_type).update? -%>
      <li><%= link_to t('page.edit'), edit_carrier_type_path(@carrier_type) -%></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_biblio-0.2.0.beta.3 app/views/carrier_types/show.html.erb
enju_biblio-0.2.0.beta.2 app/views/carrier_types/show.html.erb
enju_biblio-0.2.0.beta.1 app/views/carrier_types/show.html.erb