Sha256: b783d940cf579c0b78c227bbafb603118cb547bd291369ee132e859e2ddfef38

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

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

  <div id="checked_item_list">
    <p id="notice"><%= notice %></p>
    <%= render 'list' -%>
  </div>
  <%= render 'checkout' -%>
</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <li><%= link_to @basket.user.username, @basket.user -%></li>
  </ul>
  <ul>
    <%- @basket.user.user_group.user_group_has_checkout_types.each do |available_checkout_type| -%>
      <li>
        <%= available_checkout_type.checkout_type.display_name.localize -%>:
        <%= @basket.user.checked_item_count[:"#{available_checkout_type.checkout_type.name}"] -%> / <%= available_checkout_type.checkout_limit -%>
      </li>
    <%- end -%>
  </ul>
  <ul>
    <li><%= link_to t('activerecord.models.checkin'), checkins_path -%></li>
    <li><%= link_to t('activerecord.models.reserve'), user_reserves_path(@basket.user) -%></li>
  </ul>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre36 app/views/checked_items/new.html.erb