Browse Source

add captcha

develop
Simon Vieille 4 weeks ago
parent
commit
2cd95223e6
Signed by: deblan
GPG Key ID: 579388D585F70417
  1. 3
      assets/css/app.scss
  2. 5
      config/routes.yaml
  3. 2
      src/Form/ContactType.php

3
assets/css/app.scss

@ -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 {

5
config/routes.yaml

@ -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'

2
src/Form/ContactType.php

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

Loading…
Cancel
Save