Browse Source

Merge pull request #1036 from colinodell/feature/2fa

Add missing form-group wrapper
Jordi Boggiano 5 years ago
parent
commit
2b8044d8b6

+ 3 - 1
app/Resources/SchebTwoFactorBundle/views/Authentication/form.html.twig

@@ -22,7 +22,9 @@
                 </div>
 
                 {% if displayTrustedOption %}
-                    <div class="checkbox"><label for="_trusted"><input id="_trusted" type="checkbox" name="{{ trustedParameterName }}" /> Trust this computer for 30 days</label></div>
+                    <div class="form-group">
+                        <div class="checkbox"><label for="_trusted"><input id="_trusted" type="checkbox" name="{{ trustedParameterName }}" /> Trust this computer for 30 days</label></div>
+                    </div>
                 {% endif %}
 
                 <input type="submit" class="btn btn-block btn-primary btn-lg" value="{{ "login"|trans({}, 'SchebTwoFactorBundle') }}" />