Commit fd8986ca by Angel MAS

fixes

parent df93fa5f
...@@ -58,7 +58,10 @@ class CrmFormsController extends Controller ...@@ -58,7 +58,10 @@ class CrmFormsController extends Controller
return redirect()->route('crmforms.redirect', $request->landing); return redirect()
->route('crmforms.redirect', $request->landing)
->with('registrado', 'registrado')
->with('message_success', 'Hemos recibido tu solicitud, en breve nos comunicaremos contigo');
} }
public function redirect($landing) public function redirect($landing)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="jumbotron text-xs-center"> <div class="jumbotron text-xs-center">
<div class="col-md-8 offset-2"> <div class="col-md-8 offset-2">
<h1 class="display-3">¡Gracias por tu registro!</h1> <h1 class="display-3">¡Gracias por tu registro!</h1>
<p class="lead"><strong>Por favor revisa tu correo electrónico</strong>, nos comunicaremos contigo a la brevedad</p> <p class="lead"><strong>Hemos recibido tu solicitud, </strong>en breve nos comunicaremos contigo</p>
<hr> <hr>
<p class="lead"> <p class="lead">
<a class="btn btn-primary btn-sm" href="{{url('/')}}" role="button">Visita nuestra página</a> <a class="btn btn-primary btn-sm" href="{{url('/')}}" role="button">Visita nuestra página</a>
...@@ -12,3 +12,11 @@ ...@@ -12,3 +12,11 @@
</div> </div>
</div> </div>
@endsection @endsection
@section('scripts_extra')
@if(Session::has('registrado'))
<script type="text/javascript">
swal("Registro exitoso", "Gracias por tu registro, en breve nos comunicaremos contigo", "success");
</script>
@endif
@endsection
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment