{{#unless session.user.isAuthor}} {{#link-to "settings.users" class="btn btn-default btn-back" tagName="button"}}Users{{/link-to}} {{/unless}}

{{user.name}}

{{#if view.userActionsAreVisible}} {{#gh-dropdown-button dropdownName="user-actions-menu" classNames="btn btn-default only-has-icon user-actions-cog" title="User Actions"}} {{/gh-dropdown-button}} {{#gh-dropdown name="user-actions-menu" tagName="ul" classNames="user-actions-menu dropdown-menu dropdown-triangle-top-right"}} {{partial "user-actions-menu"}} {{/gh-dropdown}} {{/if}}
{{!-- Horrible hack to prevent Chrome from incorrectly auto-filling inputs --}}
{{input value=user.name id="user-name" class="user-name" placeholder="Full Name" autocorrect="off"}}

Use your real name so people can recognise you

{{gh-input class="user-name" id="user-slug" value=slugValue name="user" focus-out="updateSlug" placeholder="Slug" selectOnClick="true" autocorrect="off"}}

{{gh-blog-url}}/author/{{slugValue}}

{{input type="email" value=user.email id="user-email" placeholder="Email Address" autocapitalize="off" autocorrect="off" autocomplete="off"}}

Used for notifications

{{#if view.rolesDropdownIsVisible}}
{{gh-role-selector initialValue=user.role onChange="changeRole" selectId="user-role"}}

What permissions should this user have?

{{/if}}
{{input type="text" value=user.location id="user-location"}}

Where in the world do you live?

{{input type="url" value=user.website id="user-website" autocapitalize="off" autocorrect="off" autocomplete="off"}}

Have a website or blog other than this one? Link it!

{{textarea id="user-bio" value=user.bio}}

Write about you, in 200 characters or less. {{gh-count-characters user.bio}}


{{#unless view.isNotOwnProfile}}
{{input value=user.password type="password" id="user-password-old"}}
{{/unless}}
{{input value=user.newPassword type="password" id="user-password-new"}}
{{input value=user.ne2Password type="password" id="user-new-password-verification"}}