Sha256: 656615941d91acb7c66e079487ac8acd5609b2f506b6f654e025bfe625f4e2f7

Contents?: true

Size: 1.93 KB

Versions: 11

Compression:

Stored size: 1.93 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 :reservation_expired_period -%><br />
    <%= f.text_field :reservation_expired_period, 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

11 entries across 11 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre47 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre46 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre45 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre44 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre43 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre42 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre41 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre40 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre39 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre38 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre37 app/views/user_group_has_checkout_types/new.html.erb