EagerELK/ditty

View on GitHub
views/auth/ldap.haml

Summary

Maintainability
Test Coverage
.row
  .col-sm-2
  .col-sm-8
    .card.card-default.shadow
      .card-body
        = form_tag("#{settings.map_path}/auth/ldap/callback", attributes: { class: '' }) do
          .form-group
            %label.control-label Username
            %input.form-control.border-input{ name: 'username', tabindex: '1' }
          .form-group
            %label.control-label{ style: 'display: block' }
              Password
            %input.form-control.border-input{ name: 'password', type: 'password', tabindex: '2' }
          %button.btn.btn-primary{ type: 'submit', tabindex: '3' }
            %i.fa.fa-building
            Log In
  .col-sm-2