ensl.org/app/views/shared/_errors.html.erb
Luke Barratt 8eac4abebe Improved forms and error styling
Revert colour changes
2014-04-10 00:43:20 +01:00

11 lines
236 B
Text

<% 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 %>