.login-box
  - if signin_enabled?
    .login-heading
      %h3 New user? Create an account
  - else
    .login-heading
      %h3 Create an account
  .login-body
    = form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
      .devise-errors
        = devise_error_messages!
      %div
        = f.text_field :name, class: "form-control top", placeholder: "Name", required: true
      %div
        = f.text_field :username, class: "form-control middle", placeholder: "Username", required: true
      %div
        = f.email_field :email, class: "form-control middle", placeholder: "Email", required: true
      .form-group.append-bottom-20#password-strength
        = f.password_field :password, class: "form-control bottom", id: "user_password_sign_up", placeholder: "Password", required: true
      %div
        = f.submit "Sign up", class: "btn-create btn"

.clearfix.prepend-top-20
  %p
    %span.light Did not receive confirmation email?
    = link_to "Send again", new_confirmation_path(resource_name)
.login-box
  - if signin_enabled?
    .login-heading
      %h3 New user? Create an account
  - else
    .login-heading
      %h3 Create an account
  .login-body
    = form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
      .devise-errors
        = devise_error_messages!
      %div
        = f.text_field :name, class: "form-control top", placeholder: "Name", required: true
      %div
        = f.text_field :username, class: "form-control middle", placeholder: "Username", required: true
      %div
        = f.email_field :email, class: "form-control middle", placeholder: "Email", required: true
      .form-group.append-bottom-20#password-strength
        = f.password_field :password, class: "form-control bottom", id: "user_password_sign_up", placeholder: "Password", required: true
      %div
        = f.submit "Sign up", class: "btn-create btn"

.clearfix.prepend-top-20
  %p
    %span.light Didn't receive a confirmation email?
    = succeed '.' do
      = link_to "Request a new one", new_confirmation_path(resource_name)

Improve wording below signup box
Improve wording below signup box

[ci skip]
