Sha256: 379adc4ac0d0631268a2c1cba3cc914cecaf1c20c268d85ba7b308ddc627539d

Contents?: true

Size: 408 Bytes

Versions: 55

Compression:

Stored size: 408 Bytes

Contents

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

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

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.5.9 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.5.8 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.5.7 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.5.6 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.5.5 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.5.4 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.5.3 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.5.2 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.5.1 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.5.0 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.4.9 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.4.8 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.4.7 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.4.6 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.4.5 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.4.4 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.4.3 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.4.2 spec/dummy/app/views/worms/_form.html.erb
wordjelly-auth-1.4.0 spec/dummy/app/views/worms/_form.html.erb