OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Re-add correct classes to the login forms. They were accidentally removed while resolving merge conflicts
Henriette Darge4bd203d50786
diff --git a/app/views/account/_password_login_form.html.erb b/app/views/account/_password_login_form.html.erbindex b40d8496fb7..f58caaeefb7 100644--- a/app/views/account/_password_login_form.html.erb+++ b/app/views/account/_password_login_form.html.erb@@ -55,10 +55,11 @@ See COPYRIGHT and LICENSE files for more details.</div><% end %>- <%= submit_tag t(:button_login),- name: :login,- class: 'button -primary button_no-margin',- data: { disable_with: t(:label_loading) } %>+ <div class="login-form--footer">+ <%= submit_tag t(:button_login),+ name: :login,+ class: 'button -primary button_no-margin',+ data: { disable_with: t(:label_loading) } %><div class="login-options-container"><div class="login-links">@@ -76,6 +77,7 @@ See COPYRIGHT and LICENSE files for more details.<% end %></div></div>+ </div><% end %><section data-augmented-model-wrapperdiff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erbindex 4406a7d07c0..7398bbbeb4f 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erb@@ -11,8 +11,8 @@<%= styled_text_field_tag 'backup_code', nil, required: true, autocomplete: 'off', size: 20, maxlength: 20, tabindex: 1, autofocus: true %></div></div>-- <input type="submit" name="login" value="<%=t(:button_submit)%>" class="button -primary button_no-margin" tabindex="2" />+ <div class="login-form--footer">+ <input type="submit" name="login" value="<%=t(:button_submit)%>" class="button -primary button_no-margin" tabindex="2" />+ </div><% end %>- </div></div>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erbindex d4298e18125..479c1d1d67d 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb@@ -43,20 +43,24 @@</label></div><% end %>- <input type="submit" name="login" value="<%= t(:button_login) %>" class="button -primary button_no-margin" tabindex="2"/>- <% if resend_supported || has_other_devices || has_backup_codes %>- <div class="login-options-container">- <div class="login-links">- <%= link_to(- t(:text_otp_not_receive),- '#',- id: 'toggle_resend_form',- tabindex: 3,- data: { action: 'two-factor-authentication#toggleResendOptions' }- ) %>+ <div class="login-form--footer">+ <input type="submit" name="login" value="<%= t(:button_login) %>" class="button -primary button_no-margin" tabindex="2"/>+ <% if resend_supported || has_other_devices || has_backup_codes %>+ <div class="login-options-container">+ <div class="login-links">+ <%= link_to(+ t(:text_otp_not_receive),+ '#',+ id: 'toggle_resend_form',+ tabindex: 3,+ data: { action: 'two-factor-authentication#toggleResendOptions' },+ class: 'login-form--footer-link'+ ) %>+ </div></div>- </div>- <% end %>+ <% end %>+ </div>+<% end %><divid="resend_otp_container"diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erbindex 44c45f1da3f..ce5ef90245c 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb@@ -13,7 +13,7 @@<%= styled_text_field_tag 'otp', nil, required: true, autocomplete: 'off', size: 6, maxlength: 6, tabindex: 1, autofocus: true %></div></div>- <div>+ <div class="login-form--footer"><input type="submit" name="login" value="<%= t 'button_continue' %>" class="button -primary button_no-margin" tabindex="2" /></div><% end %>