Change OpenID fields to be text fields
Although technically a URL is required in practive a domain is often enough, but browsers will reject that in a URL field.
This commit is contained in:
parent
8e404f3a46
commit
3ecfef49e9
3 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label class="standard-label"><%= t 'user.account.openid.openid' %></label>
|
<label class="standard-label"><%= t 'user.account.openid.openid' %></label>
|
||||||
<%= f.url_field :openid_url, {:id => "openid_url", :class => "openid_url"} %>
|
<%= f.text_field :openid_url, {:id => "openid_url", :class => "openid_url"} %>
|
||||||
<span class="form-help deemphasize">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span>
|
<span class="form-help deemphasize">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span>
|
||||||
</diV>
|
</diV>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
<div id='login_openid_url' class='form-row'>
|
<div id='login_openid_url' class='form-row'>
|
||||||
<label class="standard-label"><%= raw t 'user.login.openid', :logo => openid_logo %></label>
|
<label class="standard-label"><%= raw t 'user.login.openid', :logo => openid_logo %></label>
|
||||||
<%= url_field_tag("openid_url", "", { :tabindex => 3, :class => "openid_url" }) %>
|
<%= text_field_tag("openid_url", "", { :tabindex => 3, :class => "openid_url" }) %>
|
||||||
<span class="minorNote">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span>
|
<span class="minorNote">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
<label for="openid_url" class="standard-label">
|
<label for="openid_url" class="standard-label">
|
||||||
<%= raw t 'user.new.openid', :logo => openid_logo %>
|
<%= raw t 'user.new.openid', :logo => openid_logo %>
|
||||||
</label>
|
</label>
|
||||||
<%= url_field(:user, :openid_url, { :id => "openid_url", :tabindex => 4, :class => "openid_url" }) %>
|
<%= text_field(:user, :openid_url, { :id => "openid_url", :tabindex => 4, :class => "openid_url" }) %>
|
||||||
<%= error_message_on(:user, :openid_url) %>
|
<%= error_message_on(:user, :openid_url) %>
|
||||||
</div>
|
</div>
|
||||||
<span class="form-help deemphasize"><%= t 'user.new.openid no password' %></span>
|
<span class="form-help deemphasize"><%= t 'user.new.openid no password' %></span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue