Sha256: c9515ef60c29fe74ce6b07cf819efaaa2548eec0bb8ae803e7577bff0e9cbab9
Contents?: true
Size: 471 Bytes
Versions: 5
Compression:
Stored size: 471 Bytes
Contents
<% if object.errors.any? %> <div id="error_explanation"> <div id="alerts" class="alert alert-error"> <%= t( :errors, :count => object.errors.count, :model => t("model.#{object.class.model_name}")) %>: <ul> <% object.errors.messages.keys.each do |field| %> <% object.errors.messages[field].each do |value| %> <li> <%= t("model.attributes.#{field}") %> <%= value %> </li> <% end %> <% end %> </ul> </div> </div> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems