Sha256: 06095ec691ec1f3656c24365fe529ddef9fc75770aaca7a0ccc27622ebbecf74

Contents?: true

Size: 613 Bytes

Versions: 4

Compression:

Stored size: 613 Bytes

Contents

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

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

  <div class="field">
    <%= f.label :kind %><br />
    <%= f.text_field :kind %>
  </div>
  <div class="field">
    <%= f.label :awesomeness %><br />
    <%= f.text_field :awesomeness %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
feedable-0.9.3 test/dummy/app/views/roosters/_form.html.erb
feedable-0.9.2 test/dummy/app/views/roosters/_form.html.erb
feedable-0.9.1 test/dummy/app/views/roosters/_form.html.erb
feedable-0.9.0 test/dummy/app/views/roosters/_form.html.erb