Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Korko
SecretSanta.fr
Commits
338b420e
Commit
338b420e
authored
Mar 08, 2017
by
Korko
Browse files
Fix deasanta form (useless button + button label after sent
parent
13e3c533
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/dearSanta.blade.php
View file @
338b420e
...
...
@@ -28,7 +28,6 @@
<
label
for
=
"mailContent"
>
Contenu
du
mail
</
label
>
<
textarea
id
=
"mailContent"
name
=
"content"
required
placeholder
=
"Cher Papa Noël..."
class
=
"form-control"
></
textarea
>
</
div
>
<
input
type
=
"button"
/>
</
fieldset
>
<
fieldset
>
<
div
class
=
"form-group btn"
>
...
...
@@ -38,8 +37,8 @@
{{
csrf_field
()
}}
<
input
type
=
"hidden"
name
=
"key"
:
value
=
"key"
/>
<
button
type
=
"submit"
class
=
"btn btn-primary btn-lg"
>
<
span
v
-
if
=
"sending"
><
span
class
=
"glyphicon glyphicon-refresh spinning"
></
span
>
@
lang
(
'form.sending'
)
</
span
>
<
span
v
-
if
=
"sent"
><
span
class
=
"glyphicon glyphicon-ok"
></
span
>
@
lang
(
'form.sent'
)
</
span
>
<
span
v
-
else
-
if
=
"sending"
><
span
class
=
"glyphicon glyphicon-refresh spinning"
></
span
>
@
lang
(
'form.sending'
)
</
span
>
<
span
v
-
else
>
Envoyer
</
span
>
</
button
>
</
fieldset
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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