Indentation in README
This commit is contained in:
parent
3a4e31473a
commit
15bee25e9c
10
README.md
10
README.md
|
@ -45,7 +45,7 @@ Configuration
|
||||||
|
|
||||||
If you need to customize the global bundle configuration, you can create a `/config/packages/gregwar_captcha.yaml` file with your configuration:
|
If you need to customize the global bundle configuration, you can create a `/config/packages/gregwar_captcha.yaml` file with your configuration:
|
||||||
``` yaml
|
``` yaml
|
||||||
gregwar_captcha:
|
gregwar_captcha:
|
||||||
width: 160
|
width: 160
|
||||||
height: 50
|
height: 50
|
||||||
```
|
```
|
||||||
|
@ -57,10 +57,10 @@ You can use the "captcha" type in your forms this way:
|
||||||
|
|
||||||
``` php
|
``` php
|
||||||
<?php
|
<?php
|
||||||
use Gregwar\CaptchaBundle\Type\CaptchaType;
|
use Gregwar\CaptchaBundle\Type\CaptchaType;
|
||||||
// ...
|
// ...
|
||||||
$builder->add('captcha', CaptchaType::class); // That's all !
|
$builder->add('captcha', CaptchaType::class); // That's all !
|
||||||
// ...
|
// ...
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that the generated image will, by default, be embedded in the HTML document
|
Note that the generated image will, by default, be embedded in the HTML document
|
||||||
|
|
Loading…
Reference in New Issue