Browse Source

Merge pull request #3294 from strk/openid-input-type-text

Add type="text" attribute for openid input field
pull/3296/head
Hypolite Petovan 4 years ago
committed by GitHub
parent
commit
4d27ac04bd
  1. 2
      view/templates/field_openid.tpl
  2. 2
      view/theme/frost-mobile/templates/field_openid.tpl

2
view/templates/field_openid.tpl

@ -1,6 +1,6 @@
<div class='field input openid' id='wrapper_{{$field.0}}'>
<label for='id_{{$field.0}}'>{{$field.1}}</label>
<input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2|escape:'html'}}" aria-describedby='{{$field.0}}_tip'>
<input name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2|escape:'html'}}" aria-describedby='{{$field.0}}_tip'>
<span class='field_help' role='tooltip' id='{{$field.0}}_tip'>{{$field.3}}</span>
</div>

2
view/theme/frost-mobile/templates/field_openid.tpl

@ -1,6 +1,6 @@
<div class='field input openid' id='wrapper_{{$field.0}}'>
<label for='id_{{$field.0}}'>{{$field.1}}</label><br />
<input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
<input name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}">
<span class='field_help'>{{$field.3}}</span>
</div>
Loading…
Cancel
Save