diff options
Diffstat (limited to 'app/views/u2f')
-rw-r--r-- | app/views/u2f/_register.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/u2f/_register.html.haml b/app/views/u2f/_register.html.haml index 6f3f4c4981c..a83b55379da 100644 --- a/app/views/u2f/_register.html.haml +++ b/app/views/u2f/_register.html.haml @@ -6,13 +6,13 @@ %script#js-register-u2f-setup{ type: "text/template" } - if current_user.two_factor_otp_enabled? - .row.append-bottom-10 + .row.gl-mb-3 .col-md-4 %button#js-setup-u2f-device.btn.btn-info.btn-block= _("Set up new U2F device") .col-md-8 %p= _("Your U2F device needs to be set up. Plug it in (if not already) and click the button on the left.") - else - .row.append-bottom-10 + .row.gl-mb-3 .col-md-4 %button#js-setup-u2f-device.btn.btn-info.btn-block{ disabled: true }= _("Set up new U2F device") .col-md-8 @@ -28,11 +28,11 @@ %a.btn.btn-warning#js-token-2fa-try-again= _("Try again?") %script#js-register-u2f-registered{ type: "text/template" } - .row.append-bottom-10 + .row.gl-mb-3 .col-md-12 %p= _("Your device was successfully set up! Give it a name and register it with the GitLab server.") = form_tag(create_u2f_profile_two_factor_auth_path, method: :post) do - .row.append-bottom-10 + .row.gl-mb-3 .col-md-3 = text_field_tag 'u2f_registration[name]', nil, class: 'form-control', placeholder: _("Pick a name") .col-md-3 |