Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
643fc42a
Commit
643fc42a
authored
Jun 01, 2021
by
Gabriel-31415
Browse files
status
parent
a33eecb4
Changes
2
Show whitespace changes
Inline
Side-by-side
resources/views/componentes/input.blade.php
View file @
643fc42a
...
...
@@ -3,7 +3,7 @@
@
endphp
<
div
class
=
"form-group"
>
<
label
class
=
" control-label {{
$class
}}"
for
=
"firstname"
>
{{
$label
}}
<
span
style
=
"color: red; font-weight:bold"
>*</
span
></
label
>
<
div
class
=
"
col-sm-5
"
>
<
div
class
=
""
>
{{
$slot
}}
</
div
>
</
div
>
resources/views/evento/submeterTrabalho.blade.php
View file @
643fc42a
...
...
@@ -65,12 +65,17 @@
let
buttonMais
=
document
.
getElementById
(
'buttonMais'
);
let
buttonMenos
=
document
.
getElementById
(
'buttonMenos'
);
let
buttonForm
=
document
.
getElementById
(
'buttonForm'
);
let
buttonSubmit
=
document
.
getElementById
(
'idButtonSubmitProjeto'
);
let
parts
=
document
.
getElementById
(
'participante'
);
// let buttonRemover = document.getElementById('buttonRemover');
const
participante
=
parts
.
firstElementChild
;
let
contador
=
2
;
// var validator = $( "#formPart" ).validate();
buttonSubmit
.
addEventListener
(
'click'
,
(
e
)
=>
{
$
(
'.collapse'
)
.
addClass
(
'show'
)
})
function
gerarPeriodo
(
e
){
var
select
=
e
.
parentElement
.
parentElement
.
nextElementSibling
;
selectPeriodos
=
select
.
children
[
0
]
.
children
[
1
];
...
...
@@ -174,10 +179,11 @@
}
});
$
.
validator
.
setDefaults
(
{
submitHandler
:
function
()
{
$
(
'.collapse'
)
.
collapse
()
alert
(
"submitted!"
);
}
}
);
...
...
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