Commit 3f805e53674651e875fce0f65ab1c740a12f273a
1 parent
12288ca882
Exists in
master
validada el reconocimiento de escala
Showing
2 changed files
with
5 additions
and
2 deletions
Show diff stats
app/Resources/views/solicitudes/reconocimientoEscala.html.twig
| ... | ... | @@ -35,7 +35,7 @@ |
| 35 | 35 | <h1>Reconocimiento Escala</h1> |
| 36 | 36 | <p>Por favor adjunte el digital de la aprobación de {{ tipo }}</p> |
| 37 | 37 | {% form_theme form 'bootstrap_3_layout.html.twig' %} |
| 38 | - {{ form_start(form) }} | |
| 38 | + {{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }} | |
| 39 | 39 | {{ form_widget(form) }} |
| 40 | 40 | {{ form_end(form) }} |
| 41 | 41 | </div> | ... | ... |
src/AppBundle/Form/ReconocimientoEscalaType.php
| ... | ... | @@ -45,7 +45,10 @@ class ReconocimientoEscalaType extends AbstractType |
| 45 | 45 | )) |
| 46 | 46 | ->add('send', SubmitType::class, array( |
| 47 | 47 | 'label' => 'Enviar reconocimiento de Escala', |
| 48 | - 'attr' => array('class' => 'btn btn-success btn-block') | |
| 48 | + 'attr' => array( | |
| 49 | + 'class' => 'btn btn-success btn-block', | |
| 50 | + 'data-loading-text' => "<i class='fa fa-circle-o-notch fa-spin'></i> Procesando Solicitud..." | |
| 51 | + ) | |
| 49 | 52 | )) |
| 50 | 53 | |
| 51 | 54 | ; | ... | ... |