Sha256: ba1bb85a82def3d2e11617b6b8765b8bd1dd744e3fa69821126140610be21997

Contents?: true

Size: 449 Bytes

Versions: 11

Compression:

Stored size: 449 Bytes

Contents

<% if object.errors.any? %>
<div class="errorExplanation error_icon" id="errorExplanation">
  <p><%= t('.problems_in_following_fields') %>:</p>
  <ul>
  <% if defined?(include_object_name) and include_object_name %>
    <% object.errors.full_messages.each do |value| %>
      <li><%= value %></li>
    <% end %>
  <% else %>
    <% object.errors.each do |key, value| %>
      <li><%= value %></li>
    <% end %>
  <% end %>
  </ul>
</div>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
refinerycms-core-4.0.3 app/views/refinery/admin/_error_messages.html.erb
refinerycms-core-4.0.2 app/views/refinery/admin/_error_messages.html.erb
refinerycms-core-4.0.1 app/views/refinery/admin/_error_messages.html.erb
refinerycms-core-3.0.6 app/views/refinery/admin/_error_messages.html.erb
refinerycms-core-4.0.0 app/views/refinery/admin/_error_messages.html.erb
refinerycms-core-3.0.5 app/views/refinery/admin/_error_messages.html.erb
refinerycms-core-3.0.4 app/views/refinery/admin/_error_messages.html.erb
refinerycms-core-3.0.3 app/views/refinery/admin/_error_messages.html.erb
refinerycms-core-3.0.2 app/views/refinery/admin/_error_messages.html.erb
refinerycms-core-3.0.1 app/views/refinery/admin/_error_messages.html.erb
refinerycms-core-3.0.0 app/views/refinery/admin/_error_messages.html.erb