Sha256: 0a5b49ac355a39f1ee0741fe5bd5fec9ae69162d4624015fd2eb3f912c35eabc
Contents?: true
Size: 497 Bytes
Versions: 2
Compression:
Stored size: 497 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.#{object.class.model_name}.#{field}") %> <%= value %> </li> <% end %> <% end %> </ul> </div> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adminpanel-1.1.0 | app/views/shared/_error_messages.html.erb |
adminpanel-1.0.0 | app/views/shared/_error_messages.html.erb |