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-1.1.0 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-1.0.9 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-1.0.8 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-1.0.7 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-1.0.6 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-1.0.5 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-1.0.4 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-1.0.3 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-1.0.2 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-1.0.1 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-1.0 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.2.1 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.2.0 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.1.9 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.1.8 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.1.7 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.1.6 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.1.5 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.1.4 app/views/layouts/admin/_form_error.html.erb
camaleon_cms-0.1.3 app/views/layouts/admin/_form_error.html.erb