Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crmforms-onestartup
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Angel Martin
crmforms-onestartup
Commits
fd8986ca
Commit
fd8986ca
authored
Aug 29, 2018
by
Angel MAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
df93fa5f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
CrmFormsController.php
src/controllers/CrmFormsController.php
+4
-1
default.blade.php
src/views/public/redirect/default.blade.php
+9
-1
No files found.
src/controllers/CrmFormsController.php
View file @
fd8986ca
...
@@ -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
)
...
...
src/views/public/redirect/default.blade.php
View file @
fd8986ca
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment