From 347c12b5ead21bdb3b127b603b9d8f3c6f8f0d16 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 15 Jun 2011 14:26:58 +0100 Subject: [PATCH] Make sure the ID of OpenID URL fields is openid_url --- app/views/user/account.html.erb | 2 +- app/views/user/new.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index 16f3ad7d3..d18971f0a 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -29,7 +29,7 @@ <%= t 'user.account.openid.openid' %> - <%= f.text_field :openid_url, {:class => "openid_url"} %> (<%= t 'user.account.openid.link text' %>) + <%= f.text_field :openid_url, {:id => "openid_url", :class => "openid_url"} %> (<%= t 'user.account.openid.link text' %>) diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb index 4e3f4428d..5ff4ed028 100644 --- a/app/views/user/new.html.erb +++ b/app/views/user/new.html.erb @@ -41,9 +41,9 @@   - + <%= t 'user.new.openid', :logo => openid_logo %> - <%= text_field(:user, :openid_url, { :size => 50, :maxlength => 255, :tabindex => 4, :value => params[:openid], :class => "openid_url" }) %> + <%= text_field(:user, :openid_url, { :id => "openid_url", :size => 50, :maxlength => 255, :tabindex => 4, :value => params[:openid], :class => "openid_url" }) %>   -- 2.43.2