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
5264dda3
Commit
5264dda3
authored
Jul 21, 2020
by
carlos
Browse files
instrucoes para trocar o arquivo envie novamente em editar edital
parent
91b462f4
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/evento/editarEvento.blade.php
View file @
5264dda3
...
@@ -223,9 +223,13 @@
...
@@ -223,9 +223,13 @@
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<div class="
form
-
group
">
<div class="
form
-
group
">
<label for="
pdfEdital
">PDF do Edital*:</label>
<label for="
pdfEdital
">PDF do Edital*:</label>
<a href="
{{
route
(
'download'
,
[
'file'
=>
$evento
->
pdfEdital
])}}
" target="
_new
" style="
font
-
size
:
20
px
;
color
:
#114048ff;" >
@if(Storage::disk()->exists(
$evento->pdfEdital
))
<a href="
{{
route
(
'download'
,
[
'file'
=>
$evento
->
pdfEdital
])}}
" target="
_new
" style="
font
-
size
:
20
px
;
color
:
#114048ff; text-decoration:none;">
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
>
</
a
>
<
small
>
Para
alterar
o
anexo
envie
novamente
</
small
>
@
endif
<
input
type
=
"file"
class
=
"form-control-file @error('pdfEdital') is-invalid @enderror"
name
=
"pdfEdital"
value
=
"{{ old('pdfEdital') }}"
id
=
"pdfEdital"
>
<
input
type
=
"file"
class
=
"form-control-file @error('pdfEdital') is-invalid @enderror"
name
=
"pdfEdital"
value
=
"{{ old('pdfEdital') }}"
id
=
"pdfEdital"
>
<
small
>
O
arquivo
selecionado
deve
ser
no
formato
PDF
de
até
2
mb
.
</
small
>
<
small
>
O
arquivo
selecionado
deve
ser
no
formato
PDF
de
até
2
mb
.
</
small
>
@
error
(
'pdfEdital'
)
@
error
(
'pdfEdital'
)
...
@@ -239,10 +243,11 @@
...
@@ -239,10 +243,11 @@
<
div
class
=
"col-sm-6"
>
<
div
class
=
"col-sm-6"
>
<
div
class
=
"form-group"
>
<
div
class
=
"form-group"
>
<
label
for
=
"modeloDocumento"
>
Arquivo
com
os
modelos
de
documentos
do
edital
:</
label
>
<
label
for
=
"modeloDocumento"
>
Arquivo
com
os
modelos
de
documentos
do
edital
:</
label
>
@
if
(
$evento
->
modeloDocumento
!=
null
)
@
if
(
Storage
::
disk
()
->
exists
(
$evento
->
modeloDocumento
)
)
<
a
href
=
"{{route('download', ['file' =>
$evento->modeloDocumento
])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
<
a
href
=
"{{route('download', ['file' =>
$evento->modeloDocumento
])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;
text-decoration:none;
"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
>
</
a
>
<
small
>
Para
alterar
o
anexo
envie
novamente
</
small
>
@
endif
@
endif
<
input
type
=
"file"
class
=
"form-control-file @error('modeloDocumento') is-invalid @enderror"
name
=
"modeloDocumento"
value
=
"{{ old('modeloDocumento') }}"
id
=
"modeloDocumento"
>
<
input
type
=
"file"
class
=
"form-control-file @error('modeloDocumento') is-invalid @enderror"
name
=
"modeloDocumento"
value
=
"{{ old('modeloDocumento') }}"
id
=
"modeloDocumento"
>
<
small
>
O
arquivo
selecionado
deve
ter
até
2
mb
.
</
small
>
<
small
>
O
arquivo
selecionado
deve
ter
até
2
mb
.
</
small
>
...
...
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