Sha256: e1ef69043b5ab4fd920b2db80f243ac2cc1f839d4dfd604878d899d83e5619f5

Contents?: true

Size: 966 Bytes

Versions: 2

Compression:

Stored size: 966 Bytes

Contents

<%= form_for(@shipment) do |f| %>
  <% if @shipment.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@shipment.errors.count, "error") %> prohibited this shipment from being saved:</h2>

      <ul>
      <% @shipment.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :order_line_id %><br>
    <%= f.number_field :order_line_id %>
  </div>
  <div class="field">
    <%= f.label :shipping_date %><br>
    <%= f.datetime_select :shipping_date %>
  </div>
  <div class="field">
    <%= f.label :shipping_quantity %><br>
    <%= f.text_field :shipping_quantity %>
  </div>
  <div class="field">
    <%= f.label :arriving_date %><br>
    <%= f.datetime_select :arriving_date %>
  </div>
  <div class="field">
    <%= f.label :status %><br>
    <%= f.text_field :status %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ext_form-0.1.5 spec/dummy/app/views/shipments/_form.html.erb
ext_form-0.1.4 spec/dummy/app/views/shipments/_form.html.erb