parent
db77371820
commit
1656289d7d
@ -0,0 +1,16 @@
|
||||
<% if object.errors.any? %>
|
||||
<section class="errors">
|
||||
<h2>
|
||||
Oops! Your form could not be saved.
|
||||
</h2>
|
||||
<h3>
|
||||
Please correct the following
|
||||
<%= pluralize(object.errors.size, "error") %>:
|
||||
</h3>
|
||||
<ul>
|
||||
<% object.errors.full_messages.each do |message| %>
|
||||
<li><%= message %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</section>
|
||||
<% end %>
|
Loading…
Reference in new issue