Sha256: 7c2d0147d06ce90ab987218830969f8ba085a4a72d82ed3bee026c5941802713

Contents?: true

Size: 1.1 KB

Versions: 20

Compression:

Stored size: 1.1 KB

Contents

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

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

  <div class="field">
    <%= f.label :title -%><br />
    <%= f.text_field :title, :class => 'resource_title' -%>
  </div>
  <div class="field">
    <%= f.label t('activerecord.models.bookstore') -%><br />
    <%= f.select(:bookstore_id, @bookstores.collect{|b| [b.name, b.id]}, :include_blank => true) -%>
  </div>
  <div class="field">
    <%= f.label :ordered_at -%><br />
    <%= f.text_field :ordered_at, :value => @order_list.ordered_at.try(:strftime, "%Y-%m-%d"), :class => 'date_field' -%>
  </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.show'), @order_list -%></li>
    <li><%= link_to t('page.back'), order_lists_path -%></li>
  </ul>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
enju_purchase_request-0.1.0.pre9 app/views/order_lists/edit.html.erb
enju_purchase_request-0.1.0.pre8 app/views/order_lists/edit.html.erb
enju_purchase_request-0.1.0.pre7 app/views/order_lists/edit.html.erb
enju_purchase_request-0.1.0.pre6 app/views/order_lists/edit.html.erb
enju_purchase_request-0.1.0.pre5 app/views/order_lists/edit.html.erb
enju_purchase_request-0.1.0.pre4 app/views/order_lists/edit.html.erb
enju_purchase_request-0.1.0.pre3 app/views/order_lists/edit.html.erb
enju_purchase_request-0.1.0.pre2 app/views/order_lists/edit.html.erb
enju_purchase_request-0.1.0.pre app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.14 app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.13 app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.12 app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.10 app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.9 app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.8 app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.7 app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.6 app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.5 app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.4 app/views/order_lists/edit.html.erb
enju_purchase_request-0.0.3 app/views/order_lists/edit.html.erb