login:
    tab: login
    tabs:
        login:
            edit_mode:
                enabled: true
                on: true
            fields:
                reset:
                    snippet:
                        html: |
                            <h1>Zenario Administrator Login</h1>
                            <p>
                                If your details are known to this site, your administrator username and a temporary
                                password will have been emailed to you.
                                
                                Please check your "spam" folder if not immediately received!
                            </p><p>
                                Then please enter your details below.
                            </p>
                description:
                    snippet:
                        h1: Log in as a site administrator
                secure_connection:
                    snippet:
                        p_class: secure_connection
                        p: Secure connection
                not_secure_connection:
                    snippet:
                        p_class: not_secure_connection
                        p: |
                            Warning, you are connecting via http and so your credentials will not be sent securely.
                username:
                    label: "Administrator username, or email address:"
                    type: text
                    row_class: row_form
                    class: username
                    return_key_presses_button: login
                password:
                    label: "Administrator password:"
                    type: password
                    row_class: row_form
                    class: password
                    return_key_presses_button: login
                admin_login_captcha:
                    captcha: {}
                    tooltip: |
                        The captcha system is enabled by a setting in this site's description file
                        (in <code>zenario_custom/site_description.yaml</code>).
                        Please speak to your system administrator to change this setting.
                remember_me:
                    type: checkbox
                    row_class: row_form
                    return_key_presses_button: login
                    label: Remember me
                    note_below: |
                        If checked, Zenario will set a cookie on your browser, and you will see a convenient "LOGIN" button on the website front-end when not in admin mode.
                admin_link:
                    same_row: false
                    row_class: row_form
                    snippet:
                        html: |
                            <p>
                                You can always log in by going to <br><a href="[[site_url]]admin" target="_blank">[[site_url]]<strong>admin</strong></a>.
                            </p>
                login:
                    value: Login
                    type: submit
                    same_row: false
                    style: |
                        float: right;
                forgot:
                    value: "I've lost my admin username or password"
                    type: submit
                    same_row: false
                previous:
                    value: "Return to site front-end"
                    type: submit
                    style: |
                        float: left;
                    class: return_front_end
                    same_row: false
            show_errors_after_field: description
        forgot:
            edit_mode:
                enabled: true
                on: true
            fields:
                description:
                    snippet:
                        html: |
                            <h1>Recover your administrator username/password</h1>
                            <p>
                                If you've forgotten your details, or you're a newly-set up administrator,
                                please enter your email address. Your username and a temporary password will
                                be sent to you.
                            </p>

                email:
                    label: "Email:"
                    type: text
                    row_class: row_form
                    return_key_presses_button: reset
                previous:
                    value: Back to login screen
                    type: submit
                    style: |
                        float: left;
                reset:
                    value: Get username/password
                    type: submit
                    same_row: true
                    style: |
                        float: right;
            show_errors_after_field: description
