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.0.11.rc5 app/views/admin/helpers/resources/_errors.html.erb
typus-3.1.0.rc11 app/themes/default/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0.rc10 app/themes/default/views/helpers/admin/resources/_errors.html.erb
typus-3.0.11.rc4 app/views/admin/helpers/resources/_errors.html.erb
typus-3.1.0.rc9 app/themes/default/views/helpers/admin/resources/_errors.html.erb
typus-3.0.11.rc3 app/views/admin/helpers/resources/_errors.html.erb
typus-3.1.0.rc8 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0.rc7 app/views/helpers/admin/resources/_errors.html.erb
typus-3.1.0.rc6 app/views/admin/helpers/resources/_errors.html.erb
typus-3.1.0.rc5 app/views/admin/helpers/resources/_errors.html.erb
typus-3.1.0.rc4 app/views/admin/helpers/resources/_errors.html.erb
typus-3.1.0.rc3 app/views/admin/helpers/resources/_errors.html.erb
typus-3.1.0.rc2 app/views/admin/helpers/resources/_errors.html.erb
typus-3.0.11.rc2 app/views/admin/helpers/resources/_errors.html.erb
typus-3.0.11.rc1 app/views/admin/helpers/resources/_errors.html.erb
typus-3.1.0.rc1 app/views/admin/helpers/resources/_errors.html.erb
typus-3.0.10 app/views/admin/helpers/resources/_errors.html.erb
typus-3.0.9 app/views/admin/helpers/resources/_errors.html.erb
typus-3.0.8 app/views/admin/helpers/resources/_errors.html.erb
typus-3.0.7 app/views/admin/helpers/resources/_errors.html.erb