diff --git a/views/signup.erb b/views/signup.erb index ccc76d9..1316fb6 100644 --- a/views/signup.erb +++ b/views/signup.erb @@ -11,10 +11,10 @@ <% if @user and @user.errors.any? %> <% @user.errors.each do |error| %> <% if error.attribute == :email and error.type == :invalid %> -
<%= _("Email is not a valid email address.") %>
<% end %> <% if error.attribute == :email and error.type == :taken %> -<%= _("An account already exists for %{email}.") % { email: @user.email } %>
<% end %> <% end %> <% end %> diff --git a/views/votes_edit.erb b/views/votes_edit.erb index 89585f0..c631804 100644 --- a/views/votes_edit.erb +++ b/views/votes_edit.erb @@ -38,7 +38,7 @@<%= _("This vote has no candidates yet. Add a first candidate.") %>
<% end %>