summaryrefslogtreecommitdiff
path: root/app/views/devise/unlocks/new.html.haml
blob: 2cfc4fbcf5770b8ef4d343aad096359835ab9498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.login-box
  .login-heading
    %h3 重新发送解锁邮件
  .login-body
    = form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f|
      .devise-errors
        = devise_error_messages!
      .clearfix.append-bottom-20
        = f.email_field :email, class: 'form-control', placeholder: '电子邮箱', autofocus: 'autofocus', autocapitalize: 'off', autocorrect: 'off'
      .clearfix
        = f.submit '重新发送解锁指令', class: 'btn btn-success'

.clearfix.prepend-top-20
  = render 'devise/shared/sign_in_link'