<% form.inputs do %> <%= form.input :email %> <%= form.input :password %> <%= form.input :password_confirmation, :label => "Confirm password" %> <%= form.input :short_name %> <% end %>