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
fab660de
Commit
fab660de
authored
Jun 01, 2021
by
Danillo Bion
Browse files
Merge branch 'master' of
https://github.com/lmts-ufape/submeta
into modificacoes_layout_minha_conta
parents
a3626e5e
52667901
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/evento/submeterTrabalho.blade.php
View file @
fab660de
...
...
@@ -450,7 +450,7 @@
buttonMais
.
addEventListener
(
"click"
,
(
e
)
=>
{
// console.log("{{ $edital->numParticipantes }}")
if
(
parts
.
children
.
length
-
1
>=
"{{
$edital->numParticipantes
}}"
){
if
(
parts
.
children
.
length
>=
"{{
$edital->numParticipantes
}}"
){
alert
(
'Limite de participante.'
)
}
else
{
var
cln
=
participante
.
cloneNode
(
true
);
...
...
@@ -461,7 +461,7 @@
let
input
=
cln
.
children
[
i
]
.
querySelectorAll
(
'input'
)[
index
];
let
name
=
input
.
getAttributeNode
(
"name"
)
.
value
;
input
.
getAttributeNode
(
"name"
)
.
value
=
name
+
'['
+
contador
+
']'
;
input
.
getAttributeNode
(
"disabled"
)
.
value
=
" "
;
//
input.getAttributeNode("disabled").value = " ";
let
select
=
cln
.
children
[
i
]
.
querySelectorAll
(
'select'
)[
index
];
if
(
select
){
let
selectName
=
select
.
getAttributeNode
(
"name"
)
.
value
;
...
...
@@ -563,6 +563,10 @@
required
:
true
,
alpha
:
true
,
},
'rg[]'
:
{
required
:
true
,
maxlength
:
8
,
},
agree
:
"required"
},
...
...
@@ -571,7 +575,10 @@
'emailParticipante[]'
:
"Este campo é obrigatório."
,
'data_de_nascimento[]'
:
"Este campo é obrigatório."
,
'cpf[]'
:
"Este campo é obrigatório."
,
'rg[]'
:
"Este campo é obrigatório."
,
'rg[]'
:
{
required
:
"Este campo é obrigatório."
,
maxlength
:
"Este campo deve conter no máximo 8 números."
},
'celular[]'
:
"Este campo é obrigatório."
,
'cep[]'
:
"Este campo é obrigatório."
,
'uf[]'
:
"Este campo é obrigatório."
,
...
...
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