extends layout
block body
  .container
    br
    br
    .col-lg-6.col-lg-offset-3.panel.panel-default
      form(method='POST', action='/auth/login')
        - if (error!="")
        .alert.alert-dismissable.alert-danger
        button(type="button" class="close" data-dismiss="alert") ×
        p #{error}
        h2 Reset password
        br
        h3 User: #{user}
        br
        .form-group
          label Old password:
          input.form-control(type='password', name='oldpassword', required)
        br
        .form-group
          label New password:
          input.form-control(type='password', name='password', required)
        div
          button.btn.btn-default.pull-right(type='submit') Log in
        br
        br
        br
extends layout
block body
  .container
    br
    br
    .col-lg-6.col-lg-offset-3.panel.panel-default
      form(method='POST', action='/auth/login')
        - if (error!="")
          .alert.alert-dismissable.alert-danger
          button(type="button" class="close" data-dismiss="alert") ×
          p #{error}
        h2 Reset password
        br
        h3 User: #{user}
        br
        .form-group
          label Old password:
          input.form-control(type='password', name='oldpassword', required)
        br
        .form-group
          label New password:
          input.form-control(type='password', name='password', required)
        div
          button.btn.btn-default.pull-right(type='submit') Log in
        br
        br
        br
Fix alert box always being shown on reset password page
Fix alert box always being shown on reset password page
