Sha256: 19635deaaeffa34648ae4834a77be1383a353f0134d2627f8176217491f26c53

Contents?: true

Size: 1.48 KB

Versions: 27

Compression:

Stored size: 1.48 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>

<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.localize) %>
    <%= @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.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

27 entries across 27 versions & 1 rubygems

Version Path
enju_biblio-0.3.18 app/views/carrier_types/show.html.erb
enju_biblio-0.3.17 app/views/carrier_types/show.html.erb
enju_biblio-0.3.16 app/views/carrier_types/show.html.erb
enju_biblio-0.3.15 app/views/carrier_types/show.html.erb
enju_biblio-0.3.14 app/views/carrier_types/show.html.erb
enju_biblio-0.3.13 app/views/carrier_types/show.html.erb
enju_biblio-0.3.12 app/views/carrier_types/show.html.erb
enju_biblio-0.3.11 app/views/carrier_types/show.html.erb
enju_biblio-0.3.10 app/views/carrier_types/show.html.erb
enju_biblio-0.3.10.rc.3 app/views/carrier_types/show.html.erb
enju_biblio-0.3.10.rc.2 app/views/carrier_types/show.html.erb
enju_biblio-0.3.10.rc.1 app/views/carrier_types/show.html.erb
enju_biblio-0.3.9 app/views/carrier_types/show.html.erb
enju_biblio-0.3.8 app/views/carrier_types/show.html.erb
enju_biblio-0.3.7 app/views/carrier_types/show.html.erb
enju_biblio-0.3.6 app/views/carrier_types/show.html.erb
enju_biblio-0.3.5 app/views/carrier_types/show.html.erb
enju_biblio-0.3.4 app/views/carrier_types/show.html.erb
enju_biblio-0.3.3 app/views/carrier_types/show.html.erb
enju_biblio-0.3.2 app/views/carrier_types/show.html.erb