Sha256: 05b4cbc93610d1d53ed7c5e1220b810eff5e4fba4d92661f11f1c71e1972dc31

Contents?: true

Size: 1.4 KB

Versions: 7

Compression:

Stored size: 1.4 KB

Contents

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

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

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

<p>
<strong><%= t('activerecord.models.user_group') -%></strong>
<ul>
  <%- @checkout_type.user_group_has_checkout_types.each do |available_user_group| -%>
    <li><%= link_to available_user_group.user_group.display_name.localize, available_user_group.user_group -%></li>
  <%- end -%>
</ul>

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

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <%- if can? :update, @checkout_type -%>
      <li><%= link_to t('page.edit'), edit_checkout_type_path(@checkout_type) -%></li>
    <%- end -%>
    <li><%= back_to_index(flash[:page_info]) -%></li>
    <%- if can? :create, UserGroupHasCheckoutType -%>
      <li><%= link_to t('page.new', model: t('activerecord.models.user_group_has_checkout_type')), new_checkout_type_user_group_has_checkout_type_path(@checkout_type) -%></li>
    <%- end -%>
  </ul>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_circulation-0.1.2 app/views/checkout_types/show.html.erb
enju_circulation-0.1.1 app/views/checkout_types/show.html.erb
enju_circulation-0.1.0 app/views/checkout_types/show.html.erb
enju_circulation-0.1.0.pre49 app/views/checkout_types/show.html.erb
enju_circulation-0.1.0.pre48 app/views/checkout_types/show.html.erb
enju_circulation-0.1.0.pre47 app/views/checkout_types/show.html.erb
enju_circulation-0.1.0.pre46 app/views/checkout_types/show.html.erb