Sha256: 70c9701030c14a7da102ef69d02e65d8dde74b39ba3391c69f9dc1326c3cc596

Contents?: true

Size: 221 Bytes

Versions: 4

Compression:

Stored size: 221 Bytes

Contents

<% if resource.errors.any? %>
  <div class="errors">
    <% @resource.errors.full_messages.each do |error_message| %>
      <p class="text-danger">
        <%= error_message %>
      </p>
    <% end %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple-admin-0.2.0.pre.alpha app/views/simple_admin/admin/shared/messages/_errors.html.erb
simple-admin-0.1.2.pre.alpha app/views/simple_admin/admin/shared/messages/_errors.html.erb
simple-admin-0.1.1.pre.alpha app/views/simple_admin/admin/shared/messages/_errors.html.erb
simple-admin-0.1.0.pre.alpha app/views/simple_admin/admin/shared/messages/_errors.html.erb