Skip to content

Commit

Permalink
Use Twig namespaced syntax in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bobvandevijver authored May 25, 2018
1 parent 502c848 commit e6546f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ However, you can always implement your own custom form widget.
**Twig**:

``` jinja
{% form_theme form 'EWZRecaptchaBundle:Form:ewz_recaptcha_widget.html.twig' %}
{% form_theme form '@EWZRecaptcha/Form/ewz_recaptcha_widget.html.twig' %}
{{ form_widget(form.recaptcha, { 'attr': {
'options' : {
Expand Down Expand Up @@ -345,7 +345,7 @@ If you want to use a custom theme, put your chunk of code before setting the the
<div><a href="javascript:Recaptcha.showhelp()">Help</a></div>
</div>
{% form_theme form 'EWZRecaptchaBundle:Form:ewz_recaptcha_widget.html.twig' %}
{% form_theme form '@EWZRecaptcha/Form/ewz_recaptcha_widget.html.twig' %}
{{ form_widget(form.recaptcha, { 'attr': {
'options' : {
Expand Down

0 comments on commit e6546f4

Please sign in to comment.