浏览代码

Add missing form-group wrapper

Fixes https://github.com/composer/packagist/pull/1031#issuecomment-546258205
Colin O'Dell 5 年之前
父节点
当前提交
485a3243c2
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      app/Resources/SchebTwoFactorBundle/views/Authentication/form.html.twig

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

@@ -22,7 +22,9 @@
                 </div>
                 </div>
 
 
                 {% if displayTrustedOption %}
                 {% 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 %}
                 {% endif %}
 
 
                 <input type="submit" class="btn btn-block btn-primary btn-lg" value="{{ "login"|trans({}, 'SchebTwoFactorBundle') }}" />
                 <input type="submit" class="btn btn-block btn-primary btn-lg" value="{{ "login"|trans({}, 'SchebTwoFactorBundle') }}" />