Sha256: 6792fef67605f641398a20b3d9399cbc88bc5a04b4c6e8a697cdb615e9744fc9

Contents?: true

Size: 341 Bytes

Versions: 43

Compression:

Stored size: 341 Bytes

Contents

<% if @item.errors.any? %>
  <div id="errorExplanation">
    <h3><%= Typus::I18n.t("%{errors} prohibited this page from being saved:", :errors => pluralize(@item.errors.count, "error")) %></h3>
    <ul>
    <% @item.errors.full_messages.each do |full_message| %>
      <li><%= full_message %></li>
    <% end %>
    </ul>
  </div>
<% end %>

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
typus-3.1.10 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.9 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.8 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.7 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.6 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.5 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.4 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.3 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.2 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.1 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0.rc19 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0.rc18 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0.rc17 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0.rc16 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0.rc15 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0.rc14 app/views/helpers/admin/resources/_errors.html.erb
typus-3.0.11 app/views/admin/helpers/resources/_errors.html.erb
typus-3.1.0.rc13 app/themes/default/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0.rc12 app/themes/default/views/helpers/admin/resources/_errors.html.erb