Commit 6546c2f6696ca7864c83501411feb5769ee2493b
1 parent
46f0f11a9b
Exists in
master
mejorado el botón de la pagina principal del portal así como también se añadiero…
…n los mensajes en caso de no encontrar al docente, docente ya solicitó ingreso y correo enviado
Showing
2 changed files
with
15 additions
and
4 deletions
Show diff stats
app/Resources/views/default/index.html.twig
... | ... | @@ -53,7 +53,7 @@ |
53 | 53 | {% block principal %} |
54 | 54 | <section id="area-principal"> |
55 | 55 | <div class="container"> |
56 | - <div class="row"> | |
56 | + <div class="row"> | |
57 | 57 | <div class="col-md-12"> |
58 | 58 | <h1 class="title">CEA - Centro de Estudios Ambientales</h1> |
59 | 59 | <h2 class="subtitle">Universidad Bolivariana de Venezuela!</h2> |
... | ... | @@ -224,13 +224,21 @@ |
224 | 224 | <section id="adscripcion"> |
225 | 225 | <div class="container text-center"> |
226 | 226 | <div class="row"> |
227 | - <h1 class="title">Solicitar Adscripción</h1> | |
227 | + <h1 class="title">Solicitar Ingreso a <code>cea@ubv</code></h1> | |
228 | 228 | |
229 | 229 | <h2 class="subtitle">Llenar este sencillo formulario es el primer paso a la adscripción</h2> |
230 | 230 | |
231 | 231 | |
232 | 232 | <div class="col-md-6 wow fadeInLeft" data-wow-delay=".5s"> |
233 | - {% form_theme form 'bootstrap_3_horizontal_layout.html.twig' %} | |
233 | + {% for message in app.session.flashBag.get('notice') %} | |
234 | + <div class="alert alert-success">{{ message }}</div> | |
235 | + {%endfor %} | |
236 | + | |
237 | + {% for message in app.session.flashBag.get('danger') %} | |
238 | + <div class="alert alert-danger">{{ message }}</div> | |
239 | + {%endfor %} | |
240 | + | |
241 | + {% form_theme form 'bootstrap_3_horizontal_layout.html.twig' %} | |
234 | 242 | {{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }} |
235 | 243 | {{ form_widget(form) }} |
236 | 244 | {{ form_end(form) }} | ... | ... |
src/AppBundle/Form/SolicitarType.php
... | ... | @@ -79,7 +79,10 @@ class SolicitarType extends AbstractType |
79 | 79 | 'class' => 'AppBundle:Eje', |
80 | 80 | 'choice_label' => 'getNombre', |
81 | 81 | )) |
82 | - ->add('send', SubmitType::class, array('label' => 'Enviar Solicitud')); | |
82 | + ->add('send', SubmitType::class, array( | |
83 | + 'label' => 'Enviar Solicitud', | |
84 | + 'attr' => array('class' => 'btn btn-success') | |
85 | + )); | |
83 | 86 | } |
84 | 87 | |
85 | 88 | ... | ... |