{% import "/sistema/vistas/input/input.html.php" as forms %}
<table id="tablaAcciones" class="table tableOption table-striped table-bordered" cellspacing="0" width="100%">
<thead>
<tr>
<th>{{ forms.check('parametros', null, 'checkAcciones', 'chk-seleccionarTodasAcciones' ) }}</th>
<td>Programa</td>
<td>Código</td>
<td>Título</td>
<td>Descripción</td>
<td>Responsable</td>
</tr>
</thead>
<tbody>
{% for accion in PlanesAcciones %}
<tr>
<td><input type="checkbox" id="checkb{{ accion.accionID }}" name="checkb[]" class="checkAcciones" value="{{ accion.accionID }}"></td>
<td>{{accion.programaTITULO }}</td>
<td>{{ accion.accionCODIGO }}</td>
<td>{{ accion.accionTITULO }}</td>
<td>{{ accion.accionDESCRIPCION | striptags }}</td>
<td>{{ accion.cargoTITULO }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<script>
$(document).ready(function () {
checkBoxSICAM('.checkAcciones');
activarSeleccionarTodos("chk-seleccionarTodasAcciones", "checkAcciones");
});
$('.tableOption').DataTable();
</script>