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
61e7e1c9
Unverified
Commit
61e7e1c9
authored
May 10, 2023
by
José Fernando Mendes da Costa
Committed by
GitHub
May 10, 2023
Browse files
Merge pull request #795 from jofernando/rascunho
coloca campo do rascunho como 1o input
parents
8a256447
c077ffa6
Changes
2
Show whitespace changes
Inline
Side-by-side
resources/views/evento/formulario/finalizar.blade.php
View file @
61e7e1c9
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<div
class=
" d-flex justify-content-between align-items-center"
style=
"margin-top: 15px; margin-bottom:18px"
>
<div
class=
" d-flex justify-content-between align-items-center"
style=
"margin-top: 15px; margin-bottom:18px"
>
<h6
style=
"font-weight: bold"
><span
style=
"color: red; font-weight:bold"
>
*
</span>
Campos obrigatórios
</h6>
<h6
style=
"font-weight: bold"
><span
style=
"color: red; font-weight:bold"
>
*
</span>
Campos obrigatórios
</h6>
<button
id=
"submeterFormProposta"
type=
"submit"
style=
"display: none;"
></button>
<button
id=
"submeterFormProposta"
type=
"submit"
style=
"display: none;"
></button>
<button
type=
"
submit
"
class=
"btn btn-primary "
id=
"idButtonSubmitRascunho"
>
{{ __('Salvar como rascunho') }}
</button>
<button
type=
"
button
"
class=
"btn btn-primary "
id=
"idButtonSubmitRascunho"
>
{{ __('Salvar como rascunho') }}
</button>
<button
type=
"submit"
class=
"btn btn-success"
id=
"idButtonSubmitProjeto"
>
{{ __('Submeter projeto') }}
</button>
<button
type=
"submit"
class=
"btn btn-success"
id=
"idButtonSubmitProjeto"
>
{{ __('Submeter projeto') }}
</button>
</div>
</div>
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
61e7e1c9
...
@@ -112,8 +112,8 @@
...
@@ -112,8 +112,8 @@
})
})
buttonRascunho
.
addEventListener
(
'click'
,
(
e
)
=>
{
buttonRascunho
.
addEventListener
(
'click'
,
(
e
)
=>
{
$
(
'.collapse'
)
.
addClass
(
'show'
)
$
(
'.collapse'
)
.
addClass
(
'show'
)
const
input
=
'<input id="input_rascunho" type="hidden" name="rascunho" value="true">'
;
$
(
"form#criarProjetoForm"
)
.
prepend
(
'<input id="input_rascunho" type="hidden" name="rascunho" value="true"
/
>'
)
;
$
(
"#criarProjetoForm"
)
.
append
(
input
);
$
(
"
form
#criarProjetoForm"
)
.
submit
(
);
})
})
@
if
(
$edital
->
numParticipantes
!=
0
)
@
if
(
$edital
->
numParticipantes
!=
0
)
...
...
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