8 lines
299 B
Plaintext
8 lines
299 B
Plaintext
<% if resource.errors.any? %>
|
|
<div id="error_explanation" class="alert-box alert radius">
|
|
<strong>
|
|
<%= pluralize resource.errors.count, t("form.error"), t("form.errors") %>
|
|
<%= t("form.not_saved", resource: t("form.#{resource.class.to_s.downcase}")) %>
|
|
</strong>
|
|
</div>
|
|
<% end %> |