From f4ddf1752e693c959864f39e0fd095e7bee108c1 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Wed, 6 May 2015 13:24:57 -0300 Subject: [PATCH] Fixes the user edition form --- app/views/devise/registrations/edit.html.erb | 2 +- features/users/user_update.feature | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index 92e774e..a84c676 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -9,7 +9,7 @@
<%= f.label :name, class: 'control-label' %>
- <%= f.email_field :name, :autofocus => true, class: 'text-field form-control' %> + <%= f.text_field :name, :autofocus => true, class: 'text-field form-control' %>

diff --git a/features/users/user_update.feature b/features/users/user_update.feature index eb474a3..19aad73 100644 --- a/features/users/user_update.feature +++ b/features/users/user_update.feature @@ -3,6 +3,7 @@ Feature: User update As a regular user I want to have an edit page + @javascript Scenario: with current password Given I am a regular user And I am signed in -- libgit2 0.21.2