tap/app/views/application/_errors.html.erb

6 lines
101 B
Plaintext
Raw Normal View History

<ul>
<% model.errors.full_messages.each do |e| %>
<%= content_tag(:li, e) %>
<% end %>
</ul>