Commit 6d62f27c4081159506d1c182fb165ab32d643daa

Authored by Wilmer
1 parent 3dada45aa6
Exists in master

remueve el cargando de todos los botones del portal exepto el del formulario final

app/Resources/views/portal/index.html.twig
... ... @@ -348,7 +348,7 @@
348 348 });
349 349 });
350 350  
351   - $('.btn').on('click', function() {
  351 + $('.cargando').on('click', function() {
352 352 var $this = $(this);
353 353 $this.button('loading');
354 354 });
... ...
src/AppBundle/Form/SolicitarType.php
... ... @@ -110,7 +110,7 @@ class SolicitarType extends AbstractType
110 110 ->add('send', SubmitType::class, array(
111 111 'label' => 'Enviar Solicitud',
112 112 'attr' => array(
113   - 'class' => 'btn btn-success',
  113 + 'class' => 'btn btn-success cargando',
114 114 'data-loading-text' => "<i class='fa fa-circle-o-notch fa-spin'></i> Enviando Solicitud..."
115 115 )
116 116 ));
... ...