doctype html

div.wrapper(tg-user-change-password, ng-controller="UserChangePasswordController as ctrl",
            ng-init="section='user-settings'")
    tg-project-menu

    sidebar.menu-secondary.sidebar.settings-nav(tg-user-settings-navigation="change-password")
        include ../includes/modules/user-settings-menu

    section.main.user-change-password
        header
            h1
                span.green {{sectionName | translate}}

        form
            fieldset
                label(for="current-password", translate="CHANGE_PASSWORD.FIELD_CURRENT_PASSWORD")
                input(type="password", placeholder="{{'CHANGE_PASSWORD.PLACEHOLDER_CURRENT_PASSWORD' | translate}}", id="current-password", ng-model="currentPassword")
            fieldset
                label(for="new-password", translate="CHANGE_PASSWORD.FIELD_NEW_PASSWORD")
                input(type="password", placeholder="{{'CHANGE_PASSWORD.PLACEHOLDER_NEW_PASSWORD' | translate}}", id="new-password", ng-model="newPassword1")
            fieldset
                label(for="retype-password", translate="CHANGE_PASSWORD.FIELD_RETYPE_PASSWORD")
                input(type="password", placeholder="{{'CHANGE_PASSWORD.PLACEHOLDER_RETYPE_PASSWORD' | translate}}", id="retype-password", ng-model="newPassword2")
            fieldset
                button.button-green.submit-button(type="submit", title="{{'COMMON.SAVE' | translate}}", translate="COMMON.SAVE")
