Skip to content

Commit

Permalink
[TwigBundle] Changed twig variable from 'this' to 'renderer'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwards committed Mar 21, 2011
1 parent 4989e96 commit 31647d3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Expand Up @@ -3,16 +3,16 @@
{% block row %}
{% spaceless %}
<div>
{{ this.label }}
{{ this.errors }}
{{ this.widget }}
{{ renderer.label }}
{{ renderer.errors }}
{{ renderer.widget }}
</div>
{% endspaceless %}
{% endblock row %}

{% block form__widget %}
{% spaceless %}
{{ block('rows') }}
{{ this.rest }}
{{ renderer.rest }}
{% endspaceless %}
{% endblock form__widget %}
Expand Up @@ -3,10 +3,10 @@
{% block row %}
{% spaceless %}
<tr>
<td>{{ this.label }}</td>
<td>{{ renderer.label }}</td>
<td>
{{ this.errors }}
{{ this.widget }}
{{ renderer.errors }}
{{ renderer.widget }}
</td>
</tr>
{% endspaceless %}
Expand All @@ -30,7 +30,7 @@
{% spaceless %}
<table>
{{ block('rows') }}
{{ this.rest }}
{{ renderer.rest }}
</table>
{% endspaceless %}
{% endblock form__widget %}
Expand Up @@ -70,7 +70,7 @@
{% endblock hidden__widget %}

{% block hidden__row %}
{{ this.widget }}
{{ renderer.widget }}
{% endblock hidden__row %}

{% block textarea__widget %}
Expand Down

0 comments on commit 31647d3

Please sign in to comment.