Sha256: e2a9ad20e5e75b9dc072d7a7bd89d985bf90c58cf28e8ccc2c0d40f6c8b93736

Contents?: true

Size: 958 Bytes

Versions: 43

Compression:

Stored size: 958 Bytes

Contents

- content_for(:title) { @title }

.auther-page
  .auther-body
    .auther-content
      h1.auther-label = "Authorization"

      = form_for @account, as: :account, url: "/auther/session", html: {class: "auther-form"} do |form|
        div class=%(auther-form-section #{"auther-error" if @account.error?(:login)})
          .auther-form-group
            = form.text_field :login, class: "auther-form-input", placeholder: "Login"
            small.auther-error-message = @account.error_message(:login)

        div class=%(auther-form-section #{"auther-error" if @account.error?(:password)})
          .auther-form-group
            = form.password_field :password, class: "auther-form-input", placeholder: "Password"
            small.auther-error-message = @account.error_message(:password)

        .auther-form-section
          = form.select :name, @account_options, {}, class: "auther-form-select"

        = form.submit "Login", class: "auther-button"

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
auther-15.0.2 app/views/auther/session/new.html.slim
auther-15.0.1 app/views/auther/session/new.html.slim
auther-15.0.0 app/views/auther/session/new.html.slim
auther-14.0.3 app/views/auther/session/new.html.slim
auther-14.0.2 app/views/auther/session/new.html.slim
auther-14.0.1 app/views/auther/session/new.html.slim
auther-14.0.0 app/views/auther/session/new.html.slim
auther-13.6.0 app/views/auther/session/new.html.slim
auther-13.5.0 app/views/auther/session/new.html.slim
auther-13.4.0 app/views/auther/session/new.html.slim
auther-13.3.0 app/views/auther/session/new.html.slim
auther-13.2.3 app/views/auther/session/new.html.slim
auther-13.2.2 app/views/auther/session/new.html.slim
auther-13.2.1 app/views/auther/session/new.html.slim
auther-13.2.0 app/views/auther/session/new.html.slim
auther-13.1.0 app/views/auther/session/new.html.slim
auther-13.0.0 app/views/auther/session/new.html.slim
auther-12.2.0 app/views/auther/session/new.html.slim
auther-12.1.0 app/views/auther/session/new.html.slim
auther-12.0.3 app/views/auther/session/new.html.slim