app/views/shared/_validation.html.erb in mtdevise-5.0.0 vs app/views/shared/_validation.html.erb in mtdevise-5.0.1
- old
+ new
@@ -1,11 +1,11 @@
-<% if object.errors.any? %>
- <div class="alert alert-danger alert-dismissible" role="alert">
- <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
- <strong>The form contains </strong> <%= pluralize(object.errors.count, "error") %> .
- <ul class="list-group">
- <% object.errors.full_messages.each do |msg| %>
- <li><%= msg %></li>
- <% end %>
- </ul>
- </div>
+<% if object.errors.any? %>
+ <div class="alert alert-danger alert-dismissible" role="alert">
+ <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
+ <strong>The form contains </strong> <%= pluralize(object.errors.count, "error") %> .
+ <ul class="list-group">
+ <% object.errors.full_messages.each do |msg| %>
+ <li><%= msg %></li>
+ <% end %>
+ </ul>
+ </div>
<% end %>
\ No newline at end of file