ensl.org/app/views/shared/_errors.html.erb

12 lines
236 B
Text
Raw Normal View History

<% if messages.size > 0 %>
<div id="errors">
<strong><%= t('errors.template.header') %></strong>
<ul class="errors">
<% messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>