Sha256: 69e7f51b1fe5b1a800fa701052e9b88813c0a7f46ff44ca47f7845d9403fe3b7

Contents?: true

Size: 323 Bytes

Versions: 7

Compression:

Stored size: 323 Bytes

Contents

<% if f.object.errors[attribute].present? %>
  <div class="alert alert-error">
    <ul class="unstyled" style="margin-bottom: 0">
      <% f.object.errors[attribute].map { |msg| f.object.errors.full_message(attribute, msg) }.each do |message| %>
        <li><%= message %></li>
      <% end %>
    </ul>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
outpost-cms-0.1.4 app/views/outpost/shared/_full_errors.html.erb
outpost-cms-0.1.3 app/views/outpost/shared/_full_errors.html.erb
outpost-cms-0.1.2 app/views/outpost/shared/_full_errors.html.erb
outpost-cms-0.1.1 app/views/outpost/shared/_full_errors.html.erb
outpost-cms-0.1.0 app/views/outpost/shared/_full_errors.html.erb
outpost-cms-0.0.5 app/views/outpost/shared/_full_errors.html.erb
outpost-cms-0.0.4 app/views/outpost/shared/_full_errors.html.erb