Sha256: c6e205caef3dfe4dc3852155539cc32ac4fef7b3f743e9724dc5bdf748009962

Contents?: true

Size: 310 Bytes

Versions: 20

Compression:

Stored size: 310 Bytes

Contents

<% if object.errors.any? %>
  <div id="error_explanation">
    <div class="alert alert-error">
      The form contains <%= pluralize(object.errors.count, "error") %>.
    </div>
    <ul>
    <% object.errors.full_messages.each do |msg| %>
      <li>* <%= msg %></li>
    <% end %>
    </ul>
  </div>
<% end %>

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
rails_magic_renamer-2.0.0.pre.alpha spec/support/sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.4.2 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.4.1 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.3.2 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.3.1 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.3 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.4 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.3 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.11 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.10 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.9 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.8 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.7 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.6 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.5 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.4 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.3 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.2 sample_app_rails_4/app/views/shared/_error_messages.html.erb
active_mocker-1.2.pre.1 sample_app_rails_4/app/views/shared/_error_messages.html.erb