From 6546c2f6696ca7864c83501411feb5769ee2493b Mon Sep 17 00:00:00 2001 From: Wilmer Ramones Date: Fri, 8 Jul 2016 13:57:41 -0400 Subject: [PATCH] =?UTF-8?q?mejorado=20el=20bot=C3=B3n=20de=20la=20pagina?= =?UTF-8?q?=20principal=20del=20portal=20as=C3=AD=20como=20tambi=C3=A9n=20?= =?UTF-8?q?se=20a=C3=B1adieron=20los=20mensajes=20en=20caso=20de=20no=20en?= =?UTF-8?q?contrar=20al=20docente,=20docente=20ya=20solicit=C3=B3=20ingres?= =?UTF-8?q?o=20y=20correo=20enviado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Resources/views/default/index.html.twig | 14 +++++++++++--- src/AppBundle/Form/SolicitarType.php | 5 ++++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/app/Resources/views/default/index.html.twig b/app/Resources/views/default/index.html.twig index 068b799..fe99bea 100644 --- a/app/Resources/views/default/index.html.twig +++ b/app/Resources/views/default/index.html.twig @@ -53,7 +53,7 @@ {% block principal %}
-
+

CEA - Centro de Estudios Ambientales

Universidad Bolivariana de Venezuela!

@@ -224,13 +224,21 @@
-

Solicitar Adscripción

+

Solicitar Ingreso a cea@ubv

Llenar este sencillo formulario es el primer paso a la adscripción

- {% form_theme form 'bootstrap_3_horizontal_layout.html.twig' %} + {% for message in app.session.flashBag.get('notice') %} +
{{ message }}
+ {%endfor %} + + {% for message in app.session.flashBag.get('danger') %} +
{{ message }}
+ {%endfor %} + + {% form_theme form 'bootstrap_3_horizontal_layout.html.twig' %} {{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }} {{ form_widget(form) }} {{ form_end(form) }} diff --git a/src/AppBundle/Form/SolicitarType.php b/src/AppBundle/Form/SolicitarType.php index 5fb7b87..81dddb9 100644 --- a/src/AppBundle/Form/SolicitarType.php +++ b/src/AppBundle/Form/SolicitarType.php @@ -79,7 +79,10 @@ class SolicitarType extends AbstractType 'class' => 'AppBundle:Eje', 'choice_label' => 'getNombre', )) - ->add('send', SubmitType::class, array('label' => 'Enviar Solicitud')); + ->add('send', SubmitType::class, array( + 'label' => 'Enviar Solicitud', + 'attr' => array('class' => 'btn btn-success') + )); } -- 2.0.0