Sha256: 82ee725abe4ace6635f77695e13df2a4ad1b1931e571249cd58d06e4060e65b6

Contents?: true

Size: 1.92 KB

Versions: 125

Compression:

Stored size: 1.92 KB

Contents

<div id="content_detail" class="ui-corner-all">
<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">
  <ul>
    <li><%= link_to t('page.back'), user_group_has_checkout_types_path -%></li>
  </ul>
</div>

Version data entries

125 entries across 125 versions & 2 rubygems

Version Path
enju_circulation-0.1.0.pre35 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre34 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre33 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre32 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre31 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre30 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre29 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre28 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre27 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre26 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre25 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre24 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre23 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre22 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre21 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre20 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre19 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre18 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre17 app/views/user_group_has_checkout_types/new.html.erb
enju_circulation-0.1.0.pre16 app/views/user_group_has_checkout_types/new.html.erb