tos: Remove form-horizontal class from account_accept_terms template.

This commit removes form-horizontal class from account_accept_terms
template. We can safely remove this class because vertical-align
property is already handled for input element by other bootstrap CSS
and margin is overridden by CSS in portico.css. The display property
is already set to inline-block by browser for all input elements
but it is eventually computed to "block" since float property for
this element is set to left.

For the "p" element used to display errors, the display and margin
properties are overridden in portico_signin.css and vertical-align
property is handled by CSS for "help-inline" class in bootstrap.css.
This commit is contained in:
Sahil Batra 2023-01-10 12:35:49 +05:30 committed by Tim Abbott
parent 8024766b27
commit 90dbc50c8c
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ the registration flow has its own (nearly identical) copy of the fields below in
<h1 class="get-started">{{ _("Accept the Terms of Service") }}</h1>
</div>
<div class="form-horizontal white-box">
<form method="post" class="form-horizontal" id="registration" action="{{ url('accept_terms') }}">
<div class="white-box">
<form method="post" id="registration" action="{{ url('accept_terms') }}">
{{ csrf_input }}
<div id="registration-email">
<label for="id_email">{{ _("Email") }}</label>