diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-10 16:28:49 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-10 16:28:49 -0400 |
commit | 004fa82a35b5083183db38ac1ccd15017ca2f9b9 (patch) | |
tree | 973ed81787c0a44b63ee7a08ff9b2ed75ebbeada /app/views/users | |
parent | f2fc1dd1f21607f1e63a9c3f7eab749741d7309e (diff) |
use the appropriate *_field methods instead of text_field ..., type: *
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb index 69b1606..e4e49f4 100644 --- a/app/views/users/_form.html.erb +++ b/app/views/users/_form.html.erb @@ -31,7 +31,7 @@ <div class="field"> <%= f.label :email %><br> - <%= f.text_field(:email, type: "email") %> + <%= f.email_field(:email) %> </div> <div class="field"> |