tap/app/views/application/_errors.html.erb
2014-11-25 11:30:55 +01:00

5 lines
101 B
Text

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