{% import "/sistema/vistas/input/input.html.php" as forms %}
<table class="table table-bordered table-striped tableOption" id="tabla{{ controlador }}">
    <thead>
        <tr>
            <th>{{ forms.check('parametros', parametros.parametroID, 'checkParametros', 'chk-seleccionarTodosParametros' )  }}</th>
            <th>Codigo de Parametros</th>
            <th>Titulo</th>
            <th>Valor</th>
            <th>Tipo</th>
            <th>Estado</th>
        </tr>
    </thead>
    <tbody>
        {% for parametro in parametros %}
            <tr>
                <td>
                    {{ forms.check('parametros', parametro.parametroID , 'checkParametros' )  }}    
                </td>
                <td>{{ parametro.parametroCODIGO }}</td>
                <td>{{ parametro.parametroTITULO }}</td>
                <td>{{ parametro.parametroVALOR }}</td>
                <td>{{ parametro.parametroTIPO }}</td>
                <td>{{ parametro.parametroAplicacionESTADO }}</td>
            </tr>
        {% endfor %}
    </tbody>
    <tfoot>
    </tfoot>
</table>

<script>
    $(document).ready(function () {
        checkBoxSICAM('.checkParametros');
        activarSeleccionarTodos("chk-seleccionarTodosParametros", "checkParametros");
    });
    $('.tableOption').DataTable();
</script>
