<commit_before>{% extends 'ChoferesBundle:Layout:layout.html.twig' %}

{% block title %}
{{ parent() }} - {{ 'views.new.creation'|trans({'%entity%': 'Curso'}, 'JordiLlonchCrudGeneratorBundle') }}
{% endblock %}

{% block menu %}
{{ include('ChoferesBundle:NavBars:navbar.html.twig') }}
{% endblock %}

{% block pageHeader %}
    <h1 class="page-title">Aprobar documentación</h1>
       <ol class="breadcrumb">
            <li><a href="{{ path('curso') }}">Cursos</a></li>
            <li class="active">Aprobar Documentación</li>
        </ol>

{% endblock %}

{% block page %}
<div class="panel">
  <div class="panel-heading">
    <h4 class="panel-title">Seleccione la documentación que desea aprobar.</h4>
  </div>
  <div class="panel-body container-fluid">
    <form action="{{ path('curso_documentacion', { 'id': curso.id }) }}" method="post">
      <div class="table-responsive">
      <table class="table table-bordered table-hover table-striped " id="exampleAddRow">
        <thead>
          <tr>
            <td>Nombre</td>
            <td>Apellido</td>
            <td>Dni</td>
            <td>Documentación</td>
          </tr>
        </thead>
        <tbody>
          {% for entity in entities %}
            <tr class="gradeA">
            <td>{{ entity.nombre }}</td>
            <td>{{ entity.apellido }}</td>
            <td>{{ entity.dni }}</td>
            <td class="actions">
              <div class="checkbox-custom checkbox-inline checkbox-primary checkbox-lg pull-left">
                <input type="checkbox" id="inputCheckbox{{ entity.id}}" name="{{ entity.id }}" value="SI"{% if(entity.documentacion) %}checked{% endif %}>
                <label for="inputCheckbox{{ entity.id }}"></label>
              </div>
            </td>
          </tr>
          {% endfor %}
        </tbody>
      </table>
      </div>
      <div class="row">
        <div class="col-sm-12 col-md-12 margin-top-20">
          <a href="{{ path('curso')}}" class="btn btn btn-outline btn-default">Volver al listado</a><commit_msg>agregada enumeracion y total<commit_after>{% extends 'ChoferesBundle:Layout:layout.html.twig' %}

{% block title %}
{{ parent() }} - {{ 'views.new.creation'|trans({'%entity%': 'Curso'}, 'JordiLlonchCrudGeneratorBundle') }}
{% endblock %}

{% block menu %}
{{ include('ChoferesBundle:NavBars:navbar.html.twig') }}
{% endblock %}

{% block pageHeader %}
    <h1 class="page-title">Aprobar documentación</h1>
       <ol class="breadcrumb">
            <li><a href="{{ path('curso') }}">Cursos</a></li>
            <li class="active">Aprobar Documentación</li>
        </ol>

{% endblock %}

{% block page %}
<div class="panel">
  <div class="panel-heading">
    <h4 class="panel-title">Seleccione la documentación que desea aprobar.</h4>
  </div>
  <div class="panel-body container-fluid">
    <form action="{{ path('curso_documentacion', { 'id': curso.id }) }}" method="post">
      <div class="table-responsive">
      <table class="table table-bordered table-hover table-striped " id="exampleAddRow">
        <thead>
          <tr>
            <td>#</td>
            <td>Nombre</td>
            <td>Apellido</td>
            <td>Dni</td>
            <td>Documentación</td>
          </tr>
        </thead>
        <tbody>
          {% for entity in entities %}
            <tr class="gradeA">
            <td>{{ loop.index }}</td>
            <td>{{ entity.nombre }}</td>
            <td>{{ entity.apellido }}</td>
            <td>{{ entity.dni }}</td>
            <td class="actions">
              <div class="checkbox-custom checkbox-inline checkbox-primary checkbox-lg pull-left">
                <input type="checkbox" id="inputCheckbox{{ entity.id}}" name="{{ entity.id }}" value="SI"{% if(entity.documentacion) %}checked{% endif %}>
                <label for="inputCheckbox{{ entity.id }}"></label>
              </div>
            </td>
          </tr>
          {% endfor %}
        </tbody>
      </table>
      </div>
      <div class="row">
        <div class="col-sm-12 col-md-12 margin-top-10">
          <p><b>Total choferes:</b> {{ entities|length }}</p>
        </div>
      </div>
      <div class="row">
        <div class="col-sm-12 col-md-12 margin-top-20">
          <a href="{{ path('curso')}}" class="btn btn btn-outline btn-default">Volver al listado</a>
{'fraction_non_alphanumeric': 0.19471488178025034, 'fraction_numerical': 0.00602688919796013, 'mean_word_length': 2.3605919003115265, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 123, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5397501', 'n_tokens_mistral': 1459, 'n_tokens_neox': 1368, 'n_words': 276}