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

Add type="text" attribute for openid input field
This commit is contained in:
Hypolite Petovan 2017-04-06 21:58:01 -04:00 committed by GitHub
commit 4d27ac04bd
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<div class='field input openid' id='wrapper_{{$field.0}}'> <div class='field input openid' id='wrapper_{{$field.0}}'>
<label for='id_{{$field.0}}'>{{$field.1}}</label> <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> <span class='field_help' role='tooltip' id='{{$field.0}}_tip'>{{$field.3}}</span>
</div> </div>

View file

@ -1,6 +1,6 @@
<div class='field input openid' id='wrapper_{{$field.0}}'> <div class='field input openid' id='wrapper_{{$field.0}}'>
<label for='id_{{$field.0}}'>{{$field.1}}</label><br /> <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> <span class='field_help'>{{$field.3}}</span>
</div> </div>