0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Set input field types to match expected input values

ref #2588
- Change name field in User Profile to be type text
- Change website field in User Profile to be type url
This commit is contained in:
Jason Williams 2014-04-14 16:18:17 +00:00
parent 0806c3188e
commit d3237488ca

View file

@ -25,7 +25,7 @@
<div class="form-group">
<label for="user-name" class="hidden">Full Name</label>
<input type="url" value="{{name}}" id="user-name" placeholder="Full Name" autocorrect="off" />
<input type="text" value="{{name}}" id="user-name" placeholder="Full Name" autocorrect="off" />
<p>Use your real name so people can recognise you</p>
</div>
@ -47,7 +47,7 @@
<div class="form-group">
<label for="user-website">Website</label>
<input type="text" value="{{website}}" id="user-website" autocapitalize="off" autocorrect="off" />
<input type="url" value="{{website}}" id="user-website" autocapitalize="off" autocorrect="off" />
<p>Have a website or blog other than this one? Link it!</p>
</div>