Make sure the ID of OpenID URL fields is openid_url

This commit is contained in:
Tom Hughes 2011-06-15 14:26:58 +01:00
parent ecbad776fb
commit 347c12b5ea
2 changed files with 3 additions and 3 deletions

View 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>

View 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>