.container.row
  .col-md-4.col-md-offset-4
    %h2 Inscription
    .well
      = link_to omniauth_authorize_path(resource_name, :facebook), class: "btn-lg btn-primary btn-block" do
        .sso-icon= icon('facebook')
        .sso-label S'inscrire via Facebook
        .clearfix
      = link_to omniauth_authorize_path(resource_name, :google_oauth2), class: "btn-lg btn-danger btn-block" do
        .sso-icon= icon('google')
        .sso-label S'inscrire via Google
        .clearfix

    .well
      %center
        %h4 Inscription classique
      = simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
        = f.error_notification
        .form-inputs
          = f.input :email, required: true
          = f.input :password, required: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length)
          = f.input :password_confirmation, required: true
        .form-actions
          = f.button :submit, "Sign up", class: 'btn-lg btn-primary btn-block'