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
5b5d5742
Commit
5b5d5742
authored
Jun 12, 2020
by
alinetenorio
Browse files
adicionando título do plano de trabalho em editar projeto
parent
265a0100
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/projeto/editar.blade.php
View file @
5b5d5742
...
@@ -320,50 +320,50 @@
...
@@ -320,50 +320,50 @@
<h5>Dados do plano de trabalho</h5>
<h5>Dados do plano de trabalho</h5>
@foreach (
$arquivos
as
$arquivo
)
@foreach (
$arquivos
as
$arquivo
)
@if(
$arquivo->participanteId
===
$participante->id
)
@if(
$arquivo->participanteId
===
$participante->id
)
<a href="
{{
route
(
'baixar.plano'
,
[
'id'
=>
$arquivo
->
id
])
}}
">Plano de trabalho atual</a>
<a href="
{{
route
(
'baixar.plano'
,
[
'id'
=>
$arquivo
->
id
])
}}
">Plano de trabalho atual</a>
@endif
<div class="
row
">
@endforeach
<div class="
col
-
sm
-
12
">
<div class="
row
">
<div id="
planoTrabalho
">
<div class="
col
-
sm
-
12
">
<div class="
row
">
<div id="
planoTrabalho
">
<div class="
col
-
sm
-
4
">
<div class="
row
">
<label>Titulo </label>
<div class="
col
-
sm
-
4
">
<input type="
text
" value="
{{
$arquivo
->
titulo
}}
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomePlanoTrabalho'
)
is
-
invalid
@
enderror
" name="
nomePlanoTrabalho
[]
" placeholder="
Nome
">
<label>Titulo </label>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomePlanoTrabalho'
)
is
-
invalid
@
enderror
" name="
nomePlanoTrabalho
[]
" placeholder="
Nome
">
@error('nomePlanoTrabalho')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
@error('nomePlanoTrabalho')
<strong>{{
$message
}}</strong>
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
</span>
<strong>{{
$message
}}</strong>
@enderror
</span>
</div>
@enderror
{{-- Arquivo --}}
</div>
<div class="
col
-
sm
-
7
">
{{-- Arquivo --}}
<label for="
nomeTrabalho
">Anexo</label>
<div class="
col
-
sm
-
7
">
<div class="
input
-
group
">
<label for="
nomeTrabalho
">Anexo</label>
<div class="
input
-
group
-
prepend
">
<div class="
input
-
group
">
<span class="
input
-
group
-
text
" id="
anexoPlanoTrabalho
">Selecione um arquivo:</span>
<div class="
input
-
group
-
prepend
">
</div>
<span class="
input
-
group
-
text
" id="
anexoPlanoTrabalho
">Selecione um arquivo:</span>
<div class="
custom
-
file
">
</div>
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoPlanoTrabalho'
)
is
-
invalid
@
enderror
" id="
anexoPlanoTrabalho
" aria-describedby="
anexoPlanoTrabalho
" name="
anexoPlanoTrabalho
[]
">
<div class="
custom
-
file
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoPlanoTrabalho'
)
is
-
invalid
@
enderror
" id="
anexoPlanoTrabalho
" aria-describedby="
anexoPlanoTrabalho
" name="
anexoPlanoTrabalho
[]
">
</div>
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('anexoPlanoTrabalho')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
1
">
<a class="
delete
">
<img src="
/
img
/
icons
/
user
-
times
-
solid
.
svg
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
</a>
</div>
</div>
@error('anexoPlanoTrabalho')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
1
">
<a class="
delete
">
<img src="
/
img
/
icons
/
user
-
times
-
solid
.
svg
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endif
@endforeach
</div>
</div>
@endif
@endif
@endforeach
@endforeach
...
...
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