Sha256: ffc0f762e4fda3d7a79e0fe79048077a8bac9bc40eb970ca3c3bb261faee1804

Contents?: true

Size: 454 Bytes

Versions: 23

Compression:

Stored size: 454 Bytes

Contents

<% if data.errors.any? %>
    <div id="error_explanation" class="alert alert-danger">
      <strong><%= "#{(data.errors.count > 1)? "#{data.errors.count} #{t('admin.table.errors')}" : "#{data.errors.count} #{t('admin.table.error')}" }" %> <%= t('admin.message.so_their_data_has_not_been_saved')%>:</strong>
      <ul>
        <% data.errors.full_messages.each do |msg| %>
            <li><%= msg %></li>
        <% end %>
      </ul>
    </div>
<% end %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
camaleon_cms-0.1.2 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.0.2 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.0.1 app/views/layouts/admin/_form_error.html.erb