Simplify
This commit is contained in:
parent
a5a9e92e18
commit
0ddb1364bc
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<% if @errors %>
|
||||
<% @errors.each do |error| %>
|
||||
<% if error.attribute == :password and error.type == :blank %>
|
||||
<p class="alert alert-warning mb-4"><%= _("Specify a password.") %></p>
|
||||
<p class="alert alert-warning mb-4"><%= _("Enter a password.") %></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue