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
b5db175d
Unverified
Commit
b5db175d
authored
Jun 13, 2023
by
Antônio Durval
Committed by
GitHub
Jun 13, 2023
Browse files
Merge pull request #911 from antonioDurval/master
Correções no Modal
parents
7b024ead
d89ba2cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/administrador/substituirParticipante.blade.php
View file @
b5db175d
...
@@ -439,13 +439,13 @@
...
@@ -439,13 +439,13 @@
</
div
>
</
div
>
<
form
method
=
"POST"
id
=
"SubParticForm"
action
=
"
{
{route('trabalho.infoTrocaParticipante')}
}
"
enctype
=
"multipart/form-data"
>
<
form
method
=
"POST"
id
=
"SubParticForm"
action
=
"
{
{route('trabalho.infoTrocaParticipante')}
}
"
enctype
=
"multipart/form-data"
>
@
csrf
@
csrf
<
div
class
=
"col-
6
"
>
<
div
class
=
"col-
12
"
>
@
component
(
'componentes.input'
,
[
'label'
=>
'Data de Entrada'
])
@
component
(
'componentes.input'
,
[
'label'
=>
'Data de Entrada'
])
<
input
type
=
"date"
class
=
"form-control"
value
=
""
name
=
"data_entrada"
placeholder
=
"Data de Entrada"
id
=
"dt_entradaManter
{
{$participante->id}
}
"
/>
<
input
type
=
"date"
class
=
"form-control"
value
=
""
name
=
"data_entrada"
placeholder
=
"Data de Entrada"
id
=
"dt_entradaManter
{
{$participante->id}
}
"
/>
@
error
(
'data_entrada'
)
@
error
(
'data_entrada'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
</
span
>
@
enderror
@
enderror
@
endcomponent
@
endcomponent
</
div
>
</
div
>
...
@@ -1104,6 +1104,7 @@
...
@@ -1104,6 +1104,7 @@
function exibirUsuarioAdicionado(data, integranteAntigoId) {
function exibirUsuarioAdicionado(data, integranteAntigoId) {
console.log(data)
console.log(data)
$('#modalIntegrante').modal('hide');
$('#modalIntegrante').modal('hide');
$(`#modalSubParticipanteCompleto${integranteAntigoId}`).modal('hide');
document.getElementById(`nome${integranteAntigoId}`).value = data[0]['name'];
document.getElementById(`nome${integranteAntigoId}`).value = data[0]['name'];
document.getElementById(`nome${integranteAntigoId}`).setAttribute("readonly", "");
document.getElementById(`nome${integranteAntigoId}`).setAttribute("readonly", "");
...
...
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