Sha256: a739abe046ac111e4f9f67a8f8506a3933be77eb81d3ee9a9f87ba28b0debec3

Contents?: true

Size: 698 Bytes

Versions: 10

Compression:

Stored size: 698 Bytes

Contents

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

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

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :description %><br />
    <%= f.text_area :description %>
  </div>
  <div class="field">
    <%= f.label :status %><br />
    <%= f.text_field :status %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hashbrowns-0.2.5 example/app/views/orders/_form.html.erb
hashbrowns-0.2.4 example/app/views/orders/_form.html.erb
hashbrowns-0.2.3 example/app/views/orders/_form.html.erb
hashbrowns-0.2.2 example/app/views/orders/_form.html.erb
hashbrowns-0.2.1 example/app/views/orders/_form.html.erb
hashbrowns-0.2.0 example/app/views/orders/_form.html.erb
hashbrowns-0.1.6 example/app/views/orders/_form.html.erb
hashbrowns-0.1.5 example/app/views/orders/_form.html.erb
hashbrowns-0.1.4 example/app/views/orders/_form.html.erb
hashbrowns-0.1.3 example/app/views/orders/_form.html.erb