Sha256: ed0b9fac934079db0ed26fc1a2e74f4dccd045eff61211d91f416dcaf5c75694

Contents?: true

Size: 493 Bytes

Versions: 11

Compression:

Stored size: 493 Bytes

Contents

<% if data.errors.any? %>
    <div id="error_explanation" class="alert alert-danger">
      <strong><%= "#{(data.errors.count > 1)? "#{data.errors.count} #{t('camaleon_cms.admin.table.errors')}" : "#{data.errors.count} #{t('camaleon_cms.admin.table.error')}" }" %> <%= t('camaleon_cms.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

11 entries across 11 versions & 1 rubygems

Version Path
camaleon_cms-2.1.2.1 app/views/layouts/camaleon_cms/admin/_form_error.html.erb
camaleon_cms-2.2.0 app/views/layouts/camaleon_cms/admin/_form_error.html.erb
camaleon_cms-2.1.2.0 app/views/layouts/camaleon_cms/admin/_form_error.html.erb
camaleon_cms-2.1.1.4 app/views/layouts/camaleon_cms/admin/_form_error.html.erb
camaleon_cms-2.1.1 app/views/layouts/camaleon_cms/admin/_form_error.html.erb
camaleon_cms-2.1.0 app/views/layouts/camaleon_cms/admin/_form_error.html.erb
camaleon_cms-2.0.4.1 app/views/layouts/camaleon_cms/admin/_form_error.html.erb
camaleon_cms-2.0.4 app/views/layouts/camaleon_cms/admin/_form_error.html.erb
camaleon_cms-2.0.3 app/views/layouts/camaleon_cms/admin/_form_error.html.erb
camaleon_cms-2.0.2 app/views/layouts/camaleon_cms/admin/_form_error.html.erb
camaleon_cms-2.0.1 app/views/layouts/camaleon_cms/admin/_form_error.html.erb