0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Fix up user profile

This commit is contained in:
John O'Nolan 2014-08-26 13:08:43 +03:00
parent b92f201f08
commit 15b4791e54

View file

@ -20,14 +20,11 @@
</section>
</header>
<section class="content settings-user">
<figure class="user-cover" {{bind-attr style=cover}}>
<button class="user-cover-edit js-modal-cover" {{action "openModal" "upload" user "cover"}}>Change Cover</button>
</figure>
<header class="user-profile-header">
<img id="user-cover" class="cover-image" {{bind-attr src=cover title=coverTitle}} />
<button type="button" class="edit-cover-image js-modal-cover button" {{action "openModal" "upload" user "cover"}}>Change Cover</button>
</header>
<form class="user-profile" novalidate="novalidate" autocomplete="off">
<form class="user-profile" novalidate="novalidate" autocomplete="off">
{{!-- Horrible hack to prevent Chrome from incorrectly auto-filling inputs --}}
<input style="display:none;" type="text" name="fakeusernameremembered"/>
@ -41,7 +38,7 @@
</figure>
<div class="form-group">
<label for="user-name">Full Name</label>
<label for="user-name" class="sr-only">Full Name</label>
{{input value=user.name id="user-name" class="user-name" placeholder="Full Name" autocorrect="off"}}
<p>Use your real name so people can recognise you</p>
</div>
@ -118,5 +115,4 @@
</fieldset>
</form>
</section>
</form>