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
f0dda42e
Commit
f0dda42e
authored
May 10, 2023
by
José Fernando Mendes da Costa
Browse files
corrige loop das options do select
parent
cf441fff
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/projeto/editaFormulario/integrantes.blade.php
View file @
f0dda42e
...
...
@@ -45,15 +45,17 @@
<div
class=
"form-row d-flex"
style=
"margin-top:10px"
>
<label
for=
"funcao_participante"
>
Função do Integrante:
</label>
<select
name=
""
id=
"funcao_participante"
class=
"form-control"
>
@if($edital->natureza_id == 3)
@if($edital->tipo == "CONTINUO"
&&
$funcao->nome != 'Bolsista')
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@elseif($funcao->nome != "Consultor"
&&
$funcao->nome != "Pesquisador"
&&
$funcao->nome != "Voluntário")
@foreach($funcaoParticipantes as $funcao)
@if($edital->natureza_id == 3)
@if($edital->tipo == "CONTINUO"
&&
$funcao->nome != 'Bolsista')
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@elseif($funcao->nome != "Consultor"
&&
$funcao->nome != "Pesquisador"
&&
$funcao->nome != "Voluntário")
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@endif
@else
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@endif
@else
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@endif
@endforeach
</select>
</div>
...
...
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