diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 1c8f72c24..d8992b637 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -979,7 +979,7 @@ p#contributorGuidance { font-size: 0.8em; } -input[type="text"], input[type="password"], textarea { +input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea { border: 1px solid black; } diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index 606e8c358..0da8b2530 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -14,7 +14,7 @@
<%= t 'user.new.email address' %> | -<%= text_field(:user, :email, { :size => 50, :maxlength => 255, :tabindex => 1 }) %> | +<%= email_field(:user, :email, { :size => 50, :maxlength => 255, :tabindex => 1 }) %> |
<%= t 'user.new.confirm email address' %> | -<%= text_field(:user, :email_confirmation, { :size => 50, :maxlength => 255, :tabindex => 2 }) %> | +<%= email_field(:user, :email_confirmation, { :size => 50, :maxlength => 255, :tabindex => 2 }) %> |
@@ -43,7 +43,7 @@ | ||
<%= raw t 'user.new.openid', :logo => openid_logo %> | -<%= text_field(:user, :openid_url, { :id => "openid_url", :size => 50, :maxlength => 255, :tabindex => 4, :class => "openid_url" }) %> | +<%= url_field(:user, :openid_url, { :id => "openid_url", :size => 50, :maxlength => 255, :tabindex => 4, :class => "openid_url" }) %> |