Skip to content
GitLab
Menu
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
70349890
Commit
70349890
authored
Mar 08, 2017
by
Korko
Browse files
Fix randomForm min participants is 3 so don't let remove unless there's more
parent
338b420e
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/templates/participant.blade.php
View file @
70349890
...
...
@@ -22,7 +22,7 @@
<
select2
:
name
=
"
'exclusions['+idx+'][]'
"
:
options
=
"
participantNames
"
v
-
model
=
"
exclusions
"
placeholder
=
"
@lang('form.exclusions.placeholder')
"
><
/select2
>
<
/td
>
<
td
class
=
"
row participant-remove-wrapper
"
>
<
button
type
=
"
button
"
class
=
"
btn btn-danger participant-remove
"
:
disabled
=
"
participants.length <=
2
"
@
click
=
"
$emit('delete')
"
>
<
button
type
=
"
button
"
class
=
"
btn btn-danger participant-remove
"
:
disabled
=
"
participants.length <=
3
"
@
click
=
"
$emit('delete')
"
>
<
span
class
=
"
glyphicon glyphicon-minus
"
><
/span><span> @lang
(
'form.participant.remove'
)
</
span
>
<
/button
>
<
/td
>
...
...
Write
Preview
Supports
Markdown
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