Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
excelwebzone committed Apr 28, 2016
1 parent 56e8e75 commit 96905ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ When creating a new form class add the following line to create the field:
``` php
<?php

use EWZ\Bundle\RecaptchaBundle\Form\Type\EWZRecaptchaType

public function buildForm(FormBuilder $builder, array $options)
{
// ...
Expand All @@ -99,6 +101,8 @@ You can pass extra options to reCAPTCHA with the "attr > options" option:
``` php
<?php

use EWZ\Bundle\RecaptchaBundle\Form\Type\EWZRecaptchaType

public function buildForm(FormBuilder $builder, array $options)
{
// ...
Expand Down Expand Up @@ -137,6 +141,7 @@ Please note that if you set ```mapped=>false``` then the annotation will not wor
``` php
<?php

use EWZ\Bundle\RecaptchaBundle\Form\Type\EWZRecaptchaType
use EWZ\Bundle\RecaptchaBundle\Validator\Constraints\IsTrue as RecaptchaTrue;

public function buildForm(FormBuilder $builder, array $options)
Expand Down

0 comments on commit 96905ed

Please sign in to comment.