This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{% macro table(headers, class_name='') -%}
|
||||
<div class="table-wrap {{ class_name }}">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for header in headers %}<th>{{ header }}</th>{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ caller() }}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{%- endmacro %}
|
||||
Reference in New Issue
Block a user