Sha256: e953e1d7959e067b2c5a2ce3197dc3c26bd43d26c141f4be0dda941f49c5b141

Contents?: true

Size: 264 Bytes

Versions: 8

Compression:

Stored size: 264 Bytes

Contents

<%% if item.errors.any? %>
  <div class="alert-message block-message error">
    <p><strong>You got an error!</strong></p>
    <ul>
      <%% item.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
flexible_admin-0.1.3 lib/generators/flexible_admin/templates/forms/error_messages.html.erb
flexible_admin-0.1.2 lib/generators/flexible_admin/templates/forms/error_messages.html.erb
flexible_admin-0.1.1 lib/generators/flexible_admin/templates/forms/error_messages.html.erb
flexible_admin-0.1.0 lib/generators/flexible_admin/templates/forms/error_messages.html.erb
flexible_admin-0.0.4 lib/generators/flexible_admin/templates/forms/error_messages.html.erb
flexible_admin-0.0.3 lib/generators/flexible_admin/templates/forms/error_messages.html.erb
flexible_admin-0.0.2 lib/generators/flexible_admin/templates/forms/error_messages.html.erb
flexible_admin-0.0.1 lib/generators/flexible_admin/templates/forms/error_messages.html.erb