Sha256: ecbe56727ecee236ee58b87984eca5b47e65788e7d0c367221eb2545b34d1640

Contents?: true

Size: 362 Bytes

Versions: 8

Compression:

Stored size: 362 Bytes

Contents

<% if f.object.errors.any? %>
  <div class="standard-form--error-explanation b-alert b-alert--error">
    <%= t('binda.standard_form_error_heading') %> <%= pluralize(f.object.errors.count, t("binda.standard_form_error")) %>:
    <ul>
      <% f.object.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
    </ul>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
binda-0.1.11 app/views/layouts/binda/_form_errors.html.erb
binda-0.1.10 app/views/layouts/binda/_form_errors.html.erb
binda-0.1.9 app/views/layouts/binda/_form_errors.html.erb
binda-0.1.8 app/views/layouts/binda/_form_errors.html.erb
binda-0.1.7 app/views/layouts/binda/_form_errors.html.erb
binda-0.1.6 app/views/layouts/binda/_form_errors.html.erb
binda-0.1.5 app/views/layouts/binda/_form_errors.html.erb
binda-0.1.4 app/views/layouts/binda/_form_errors.html.erb