add captcha

This commit is contained in:
Simon Vieille 2022-05-29 21:12:59 +02:00
parent eedfb4c9f2
commit 2cd95223e6
Signed by: deblan
GPG Key ID: 579388D585F70417
3 changed files with 6 additions and 4 deletions

View File

@ -117,7 +117,7 @@ pre[class*="language-"] {
img {
vertical-align: middle;
margin-right: 10px;
margin-right: 5px;
border-radius: 10px;
width: auto;
}
@ -127,6 +127,7 @@ pre[class*="language-"] {
width: 100px !important;
height: 50px !important;
margin-bottom: -1px;
margin-left: 5px;
}
.form-error-icon {

View File

@ -1,6 +1,5 @@
#index:
# path: /
# controller: App\Controller\DefaultController::index
gregwar_captcha_routing:
resource: "@GregwarCaptchaBundle/Resources/config/routing/routing.yml"
site_route:
resource: 'site.route_loader::loadRoutes'

View File

@ -83,6 +83,8 @@ class ContactType extends AbstractType
'width' => 140,
'height' => 50,
'length' => 3,
'reload' => true,
'as_url' => true,
]
);
}