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') + )); }