Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JPustkuchen committed May 10, 2021
1 parent 9b1df2f commit a740dac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Resources/views/table.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<thead>
{% block thead_row %}
<tr {% if tabledata.header.attributes is defined and tabledata.header.attributes is not empty %} {{ tabledata.header.attributes|raw }} {% endif %}>
{% block thead_row_inner_start %}
{% block thead_row_inner_before %}
{% endblock %}
{% for cell in tabledata.header.cells %}
{% block thead_th %}
<th>{{ cell.value }}</th>
<th>{{ cell.beforeValueRaw|raw }}{{ cell.value }}{{ cell.afterValueRaw|raw }}</th>
{% endblock %}
{% endfor %}
{% block head_row_inner_end %}
{% block head_row_inner_after %}
{% endblock %}
</tr>
{% endblock %}
Expand All @@ -23,16 +23,16 @@
{% for row in tabledata.rows %}
{% block tbody_row %}
<tr {% if row.attributes is defined and row.attributes is not empty %} {{ row.attributes|raw }} {% endif %}>
{% block tbody_row_inner_start %}
{% block tbody_row_inner_before %}
{% endblock %}
{% for cell in row.cells %}
{% block tbody_td %}
<td {% if cell.attributes is defined and cell.attributes is not empty %} {{ cell.attributes|raw }} {% endif %}>
{{ cell.value }}
{{ cell.beforeValueRaw|raw }}{{ cell.value }}{{ cell.afterValueRaw|raw }}
</td>
{% endblock %}
{% endfor %}
{% block body_row_inner_end %}
{% block tbody_row_inner_after %}
{% endblock %}
</tr>
{% endblock %}
Expand Down

0 comments on commit a740dac

Please sign in to comment.