extends ./form

block form
    .form-label-group
        input#inputUsername.form-control(type='text' name='username' value=(form_data ? form_data.username : '') required placeholder='Username' autofocus)
        label(for='inputUsername') Username
    .form-label-group
        input#inputPassword.form-control(type='password' name='password' required placeholder='Password')
        label(for='inputPassword') Password
    button.btn.btn-lg.btn-primary.btn-block.btn-login.text-uppercase.font-weight-bold.mb-2.form-submit-button(type='submit') Login

    .text-center
        div(style="margin: 30px")
            span Or, continue with:
            a(style="margin-left: 10px;" title="Continue with Starship CoreID" href="/auth/starship_oauth/login")
                i.fas.fa-rocket
            a(style="margin-left: 10px;" title="Continue with GitHub" href="/auth/github_oauth/login")
                i.fab.fa-github
    
    if registration_enabled
        .text-center
            span.small Need an account?&nbsp;
                a(href='./register') Register here.
