<%= form_for(@user) do |f| %> <% if @user.errors.any? %>

<%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:

<% end %>
<%= f.label :email, I18n.t('attributes.user.email') %> <%= f.text_field :email %>
<%= f.label :password, I18n.t('attributes.user.password') %> <%= f.text_field :password %>
<%= f.submit I18n.t('buttons.signup'), :class => 'main' %> <% end %>