Sha256: 2f6aa0eb25551236d29f5b3754067f1a135c0b27e0f9676865a70a68bdebd83a

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 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 -%>
</p>

<p>
  <strong><%= t('page.file') -%>:</strong>
  <%= link_to carrier_type_path(@carrier_type, format: :download) do -%>
    <%= image_tag(carrier_type_path(@carrier_type, format: :download), size: '16x16', class: 'enju_icon', alt: @carrier_type.display_name) %>
    <%= @carrier_type.attachment_file_name %>
  <% end %>
</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, 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.4.0.rc.1 app/views/carrier_types/show.html.erb
enju_biblio-0.4.0.beta.2 app/views/carrier_types/show.html.erb
enju_biblio-0.4.0.beta.1 app/views/carrier_types/show.html.erb