Sha256: 0f6c669911c1c3b7c03a7a77ccba6e2162d37f395c9a7b760827b3bc2e09e69d

Contents?: true

Size: 1.38 KB

Versions: 5

Compression:

Stored size: 1.38 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 -%>
</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, 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 policy(@checkout_type).update? -%>
      <li><%= link_to t('page.edit'), edit_checkout_type_path(@checkout_type) -%></li>
    <%- end -%>
    <li><%= back_to_index(flash[:page_info]) -%></li>
    <%- if policy(UserGroupHasCheckoutType).create? -%>
      <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

5 entries across 5 versions & 1 rubygems

Version Path
enju_circulation-0.4.0.rc.1 app/views/checkout_types/show.html.erb
enju_circulation-0.4.0.beta.4 app/views/checkout_types/show.html.erb
enju_circulation-0.4.0.beta.3 app/views/checkout_types/show.html.erb
enju_circulation-0.4.0.beta.2 app/views/checkout_types/show.html.erb
enju_circulation-0.4.0.beta.1 app/views/checkout_types/show.html.erb