]> git.openstreetmap.org Git - rails.git/commitdiff
Make sure the ID of OpenID URL fields is openid_url
authorTom Hughes <tom@compton.nu>
Wed, 15 Jun 2011 13:26:58 +0000 (14:26 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 15 Jun 2011 13:26:58 +0000 (14:26 +0100)
app/views/user/account.html.erb
app/views/user/new.html.erb

index 16f3ad7d39ed00b2e559d0864514637bc202a081..d18971f0a18b68f546d10015ef68af542e1d7fd5 100644 (file)
@@ -29,7 +29,7 @@
 
   <tr>
     <td class="fieldName" ><%= t 'user.account.openid.openid' %></td>
-    <td><%= f.text_field :openid_url, {:class => "openid_url"} %> <span class="minorNote">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span></td>
+    <td><%= f.text_field :openid_url, {:id => "openid_url", :class => "openid_url"} %> <span class="minorNote">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span></td>
   </tr>
 
   <tr>
index 4e3f4428d6f11194c339f31fa1d115ee1ddf4b23..5ff4ed02863cc3b57fc85757e2c848c1a3c1fef7 100644 (file)
@@ -41,9 +41,9 @@
 
     <tr id="openid_spacer"><td colspan="2">&nbsp;<!--vertical spacer--></td></tr>
 
-    <tr id="openid_url">
+    <tr>
       <td class="fieldName"><%= t 'user.new.openid', :logo => openid_logo %></td>
-      <td><%= text_field(:user, :openid_url, { :size => 50, :maxlength => 255, :tabindex => 4, :value => params[:openid], :class => "openid_url" }) %></td>
+      <td><%= text_field(:user, :openid_url, { :id => "openid_url", :size => 50, :maxlength => 255, :tabindex => 4, :value => params[:openid], :class => "openid_url" }) %></td>
     </tr>
 
     <tr><td colspan="2">&nbsp;<!--vertical spacer--></td></tr>