module_generator/template_generator/modules/module_template/index.html.erb

23 lines
619 B
Plaintext

<table class="table table-hover table-striped projects-index module_modal_templates-index dt-responsive nowrap">
<caption><h3>{{widget-title}}</h3></caption>
<thead>
<tr data-level="0" data-list="headers">
<th class="col-md-{{col}}">{{head-title}}</th>
</tr>
</thead>
<tbody data-level="0" data-list="module_modal_templates">
<tr data-level="1" data-list="jps">
<td>{{value}}</td>
</tr>
</tbody>
</table>
{{pagination_goes_here}}
<script>
$('table.module_modal_templates-index').DataTable({
searching: false,
paging: false,
ordering: false,
info: false
});
</script>