Commit e26eb1e1 authored by Robert Speicher's avatar Robert Speicher

Update grids for 2FA details

Also adds a link to the documentation.
parent 190c9e9f
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
%h2.page-title Two-Factor Authentication (2FA) %h2.page-title Two-Factor Authentication (2FA)
%p %p
Download the Google Authenticator application from App Store for iOS or Download the Google Authenticator application from App Store for iOS or Google
Google Play for Android and scan this code. Play for Android and scan this code.
More information is available in the #{link_to('documentation', help_page_path('workflow', 'two_factor_authentication'))}.
%hr %hr
...@@ -12,10 +14,9 @@ ...@@ -12,10 +14,9 @@
.alert.alert-danger .alert.alert-danger
= @error = @error
.form-group .form-group
.col-sm-2 .col-lg-2.col-lg-offset-2
.col-sm-2
= raw @qr_code = raw @qr_code
.col-sm-8.manual-instructions .col-lg-7.col-lg-offset-1.manual-instructions
%h3 Can't scan the code? %h3 Can't scan the code?
%p %p
...@@ -33,7 +34,7 @@ ...@@ -33,7 +34,7 @@
%dd Yes %dd Yes
.form-group .form-group
= label_tag :pin_code, nil, class: "control-label" = label_tag :pin_code, nil, class: "control-label"
.col-sm-10 .col-lg-10
= text_field_tag :pin_code, nil, class: "form-control", required: true, autofocus: true = text_field_tag :pin_code, nil, class: "form-control", required: true, autofocus: true
.form-actions .form-actions
= submit_tag 'Submit', class: 'btn btn-success' = submit_tag 'Submit', class: 'btn btn-success'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment