Sha256: efbb44a4fc7374c0624be7e990ccc4602bae7e45899f0e95fca42c367d5df8f1

Contents?: true

Size: 410 Bytes

Versions: 14

Compression:

Stored size: 410 Bytes

Contents

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

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

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

Version data entries

14 entries across 11 versions & 1 rubygems

Version Path
paper_trail_manager-0.6.0 spec/dummy/app/views/entities/_form.html.erb
paper_trail_manager-0.5.0 spec/dummy/app/views/entities/_form.html.erb
paper_trail_manager-0.4.0 spec/dummy/app/views/entities/_form.html.erb
paper_trail_manager-0.3.0 spec/dummy/app/views/entities/_form.html.erb
paper_trail_manager-0.2.0 rails_test/rails-3.0.17/app/views/entities/_form.html.erb
paper_trail_manager-0.2.0 rails_test/common/app/views/entities/_form.html.erb
paper_trail_manager-0.2.0 rails_test/rails-3.1.8/app/views/entities/_form.html.erb
paper_trail_manager-0.2.0 rails_test/rails-3.2.8/app/views/entities/_form.html.erb
paper_trail_manager-0.1.6 spec/dummy/app/views/entities/_form.html.erb
paper_trail_manager-0.1.4 spec/dummy/app/views/entities/_form.html.erb
paper_trail_manager-0.1.3 spec/dummy/app/views/entities/_form.html.erb
paper_trail_manager-0.1.2 spec/dummy/app/views/entities/_form.html.erb
paper_trail_manager-0.1.1 spec/dummy/app/views/entities/_form.html.erb
paper_trail_manager-0.1.0 spec/dummy/app/views/entities/_form.html.erb