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
6eb26e5f
Commit
6eb26e5f
authored
Jun 15, 2020
by
carlos
Browse files
texto da descricao sumindo
parent
19b5cf2a
Changes
2
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/EventoController.php
View file @
6eb26e5f
...
@@ -59,7 +59,9 @@ class EventoController extends Controller
...
@@ -59,7 +59,9 @@ class EventoController extends Controller
{
{
$coordenadors
=
CoordenadorComissao
::
with
(
'user'
)
->
get
();
$coordenadors
=
CoordenadorComissao
::
with
(
'user'
)
->
get
();
$naturezas
=
Natureza
::
orderBy
(
'nome'
)
->
get
();
$naturezas
=
Natureza
::
orderBy
(
'nome'
)
->
get
();
return
view
(
'evento.criarEvento'
,
[
'coordenadors'
=>
$coordenadors
,
'naturezas'
=>
$naturezas
]);
$yesterday
=
Carbon
::
yesterday
(
'America/Recife'
);
$yesterday
=
$yesterday
->
toDateString
();
return
view
(
'evento.criarEvento'
,
[
'coordenadors'
=>
$coordenadors
,
'naturezas'
=>
$naturezas
,
'ontem'
=>
$yesterday
]);
}
}
/**
/**
...
...
resources/views/evento/criarEvento.blade.php
View file @
6eb26e5f
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<
div
class
=
"col-sm-12"
>
<
div
class
=
"col-sm-12"
>
<
div
class
=
"form-group"
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleFormControlTextarea1"
>
Descrição
</
label
>
<
label
for
=
"exampleFormControlTextarea1"
>
Descrição
</
label
>
<
textarea
class
=
"form-control @error('descricao') is-invalid @enderror"
value
=
"
{{ old('descricao') }}
"
required
autocomplete
=
"descricao"
autofocus
id
=
"descricao"
name
=
"descricao"
rows
=
"3"
></
textarea
>
<
textarea
class
=
"form-control @error('descricao') is-invalid @enderror"
value
=
""
required
autocomplete
=
"descricao"
autofocus
id
=
"descricao"
name
=
"descricao"
rows
=
"3"
>
{{
old
(
'descricao'
)
}}
</
textarea
>
@
error
(
'descricao'
)
@
error
(
'descricao'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
<
strong
>
{{
$message
}}
</
strong
>
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
@error('inicioSubmissao')
@error('inicioSubmissao')
<span class="
invalid
-
feedback
" role="
alert
">
<span class="
invalid
-
feedback
" role="
alert
">
<strong>{{
$message
. date('d/m/Y', strtotime(
$ontem
)) . '.' }}</strong>
<strong>{{
$message
. date('d/m/Y', strtotime(
$ontem
?? ''
)) . '.' }}</strong>
</span>
</span>
@enderror
@enderror
</div>
</div>
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
@error('inicioRevisao')
@error('inicioRevisao')
<span class="
invalid
-
feedback
" role="
alert
">
<span class="
invalid
-
feedback
" role="
alert
">
<strong>{{
$message
. date('d/m/Y', strtotime(
$ontem
)) . '.' }}</strong>
<strong>{{
$message
. date('d/m/Y', strtotime(
$ontem
?? ''
)) . '.' }}</strong>
</span>
</span>
@enderror
@enderror
</div>
</div>
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
@error('resultado')
@error('resultado')
<span class="
invalid
-
feedback
" role="
alert
">
<span class="
invalid
-
feedback
" role="
alert
">
<strong>{{
$message
. date('d/m/Y', strtotime(
$ontem
)) . '.' }}</strong>
<strong>{{
$message
. date('d/m/Y', strtotime(
$ontem
?? ''
)) . '.' }}</strong>
</span>
</span>
@enderror
@enderror
</div>
</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