Sha256: a97d3d77fd03f0d4b537f48f8c108610830dd88b210f81b6bd90fe8a8672a0e9

Contents?: true

Size: 508 Bytes

Versions: 39

Compression:

Stored size: 508 Bytes

Contents

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

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

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

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
rabbit_feed-2.3.7 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.3.6 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.3.5 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.3.4 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.3.3 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.3.2 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.3.1 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.3.0 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.1.5 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.1.2 example/rails_app/app/views/beavers/_form.html.erb
flip_fab-1.0.0 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.1.1 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.1.0 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.0.0 example/rails_app/app/views/beavers/_form.html.erb
flip_fab-0.0.1 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-1.0.2 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-1.0.1 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-1.0.0 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-0.3.1 example/rails_app/app/views/beavers/_form.html.erb