From 41fbeb4a740bfe9e35130bc1c9f4d7e4198fe6cf Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 7 Nov 2009 21:11:29 +0100 Subject: Using password field for user passwords. Closes #43 --- app/views/users/edit.html.erb | 4 ++-- app/views/users/new.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'app') diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 63dfd9c..226e821 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -14,11 +14,11 @@ Password - <%= f.text_field :password %> + <%= f.password_field :password %> Confirm - <%= f.text_field :password_confirmation %> + <%= f.password_field :password_confirmation %> <% if current_user.admin? %> diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 8bd21d6..6990c27 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -14,11 +14,11 @@ Password - <%= f.text_field :password %> + <%= f.password_field :password %> Confirm - <%= f.text_field :password_confirmation %> + <%= f.password_field :password_confirmation %> Admin? -- cgit v1.3