summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/appearances/preview_sign_in.html.haml
blob: 1c2350e283589785d3185a43f4ef9efe43ae6204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
= render 'devise/shared/tab_single', tab_title: _('Sign in preview')
.login-box
  %form.gl-show-field-errors
    - title = _('This form is disabled in preview')
    .form-group
      = label_tag :login
      = text_field_tag :login, nil, disabled: true, class: "form-control gl-form-input top", title: title
    .form-group
      = label_tag :password
      = password_field_tag :password, nil, disabled: true, class: "form-control gl-form-input bottom", title: title
    .form-group
      = render Pajamas::ButtonComponent.new(variant: :confirm, disabled: true, button_options: { title: title }) do
        = _("Sign in")