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
flip_fab-1.1.21 example/rails_app/app/views/beavers/_form.html.erb
flip_fab-1.1.20 example/rails_app/app/views/beavers/_form.html.erb
flip_fab-1.1.19 example/rails_app/app/views/beavers/_form.html.erb
flip_fab-1.1.18 example/rails_app/app/views/beavers/_form.html.erb
flip_fab-1.0.18 example/rails_app/app/views/beavers/_form.html.erb
flip_fab-1.0.17 example/rails_app/app/views/beavers/_form.html.erb
flip_fab-1.0.16 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-3.0.3 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-3.0.2 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-3.0.1 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-3.0.0 example/rails_app/app/views/beavers/_form.html.erb
flip_fab-1.0.2 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.4.4 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.4.3 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.4.2 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.4.1 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.4.0 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.3.10 example/rails_app/app/views/beavers/_form.html.erb
rabbit_feed-2.3.9 example/rails_app/app/views/beavers/_form.html.erb
flip_fab-1.0.1 example/rails_app/app/views/beavers/_form.html.erb