diff --git a/app/Resources/views/cea/ascenso_mostar.html.twig b/app/Resources/views/cea/ascenso_mostar.html.twig
index 1773c6a..dfb3a22 100644
--- a/app/Resources/views/cea/ascenso_mostar.html.twig
+++ b/app/Resources/views/cea/ascenso_mostar.html.twig
@@ -2,10 +2,11 @@
{% block stylesheets %}
{{ parent() }}
+
{% endblock %}
{%block body %}
-
+ {% set cantidadJurado = 6 %}
{% for message in app.session.flashBag.get('notice') %}
@@ -25,10 +26,9 @@
Estatus {{servicio.idEstatus}}
{% else %}
Estatus {{servicio.idEstatus}}
- {% endif %}
-
+ {% endif %}
+
-
@@ -45,7 +45,7 @@
{% if escalas is not null %}
@@ -247,12 +266,28 @@
{% block javascripts %}
{{ parent() }}
+
diff --git a/src/AppBundle/Controller/AscensoController.php b/src/AppBundle/Controller/AscensoController.php
index fa3c3dc..c1c2322 100644
--- a/src/AppBundle/Controller/AscensoController.php
+++ b/src/AppBundle/Controller/AscensoController.php
@@ -398,7 +398,7 @@ class AscensoController extends Controller
/**
- * Encuentra y muestra una entidad de tipo Adscripción.
+ * Encuentra y muestra una entidad de tipo Ascenso.
*
* @Route("/ascenso/{id}", name="cea_ascenso_show")
* @Method("GET")
@@ -421,13 +421,16 @@ class AscensoController extends Controller
'idRolInstitucion' => $servicio->getIdRolInstitucion(),
'idServicioCe' => 1
));
+
+ $form = $this->createForm('AppBundle\Form\AddTutorType');
return $this->render('cea/ascenso_mostar.html.twig', array(
'ascenso' => $ascenso,
'servicio' => $servicio,
'escalas' => $escala,
'pida' => $pida,
- 'antiguedad' => $antiguedad
+ 'antiguedad' => $antiguedad,
+ 'form' => $form->createView(),
));
}
diff --git a/src/AppBundle/Form/AddTutorType.php b/src/AppBundle/Form/AddTutorType.php
new file mode 100644
index 0000000..276580d
--- /dev/null
+++ b/src/AppBundle/Form/AddTutorType.php
@@ -0,0 +1,49 @@
+add('tutores_ascenso', EntityType::class, array(
+ 'placeholder' => 'Añadir Posibles Jurados...',
+ 'class' => 'AppBundle:TutoresAscenso',
+ 'required' => false,
+ 'label' => 'Asignar Jurados',
+ 'multiple' => true,
+ 'group_by' => 'institucion',
+ ))
+
+
+
+
+ ;
+
+
+ }
+
+
+
+
+}