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

6 lines
101 B
Text
Raw Normal View History

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