Remove variable, move into include
This commit is contained in:
parent
424981ed5c
commit
676216c38b
|
@ -16,9 +16,10 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% set today = 'today'|date('Y-m-d') %}
|
|
||||||
{% for row in talks %}
|
{% for row in talks %}
|
||||||
{% include "talks-table-row" %}
|
{% include "talks-table-row" with {
|
||||||
|
today: 'today'|date('Y-m-d')
|
||||||
|
} %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Reference in a new issue