Sha256: 0fb42bb13ea34951098f02a711e393570be24e31bdaeea66c6bf0bd8c82d4385

Contents?: true

Size: 1.76 KB

Versions: 27

Compression:

Stored size: 1.76 KB

Contents

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

<%= form_for(@user_group_has_checkout_type) do |f| -%>
  <%= f.error_messages -%>

  <div class="field">
    <%= f.label t('activerecord.models.user_group') -%><br />
    <%= f.select(:user_group_id, @user_groups.collect{|u| [u.display_name.localize, u.id]}, include_blank: true) -%>
  </div>
  <div class="field">
    <%= f.label t('activerecord.models.checkout_type') -%><br />
    <%= f.select(:checkout_type_id, @checkout_types.collect{|c| [c.display_name.localize, c.id]}, include_blank: true) -%>
  </div>
  <div class="field">
    <%= f.label :checkout_limit -%><br />
    <%= f.text_field :checkout_limit, class: 'resource_integer' -%>
  </div>

  <div class="field">
    <%= f.label :checkout_period -%><br />
    <%= f.text_field :checkout_period, class: 'resource_integer' -%>
  </div>

  <div class="field">
    <%= f.label :checkout_renewal_limit -%><br />
    <%= f.text_field :checkout_renewal_limit, class: 'resource_integer' -%>
  </div>

  <div class="field">
    <%= f.label :reservation_limit -%><br />
    <%= f.text_field :reservation_limit, class: 'resource_integer' -%>
  </div>

  <div class="field">
    <%= f.label :set_due_date_before_closing_day -%>
    <%= f.check_box :set_due_date_before_closing_day -%>
  </div>

  <div class="field">
    <%= f.label :note -%><br />
    <%= f.text_area :note, class: 'resource_textarea' -%>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<%- end -%>

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <li><%= link_to t('page.back'), user_group_has_checkout_types_path -%></li>
  </ul>
</div>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
enju_circulation-0.3.11 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.10 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.9 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.8 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.7 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.6 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.3 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.2 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.1 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.0 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.0.rc.1 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.3.0.beta.1 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.2.5 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.2.4 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.2.3 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.2.2 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.2.1 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.2.0 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.2.0.beta.4 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.2.0.beta.3 app/views/user_group_has_checkout_types/new.html.erb