{{#link-to 'settings' class='btn btn-default'}}Back{{/link-to}}
{{#unless session.user.isAuthor}} {{#link-to "settings.users" class="button has-icon users-back" tagName="button"}}Users{{/link-to}} {{/unless}}
{{#if view.userActionsAreVisible}} {{#gh-popover-button popoverName="user-actions-menu" classNames="button only-has-icon user-actions-cog" title="User Actions"}} {{/gh-popover-button}} {{#gh-popover name="user-actions-menu" tagName="ul" classNames="user-actions-menu dropdown-menu dropdown-triangle-top-right"}} {{render "user-actions-menu" model}} {{/gh-popover}} {{/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

{{!-- {{input value=user.slug id="user-slug" placeholder="Slug" autocorrect="off"}} --}} {{gh-blur-input class="user-name" id="user-slug" value=user.slug name="user" action="updateSlug" placeholder="Slug" selectOnClick="true" autocorrect="off"}}

{{gh-blog-url}}/author/{{user.slug}}

{{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=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}}


{{input value=user.password type="password" id="user-password-old"}}
{{input value=user.newPassword type="password" id="user-password-new"}}
{{input value=user.ne2Password type="password" id="user-new-password-verification"}}