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
93974019
Commit
93974019
authored
Jul 22, 2021
by
José Rômulo
Browse files
Modifica tela de perfil de avaliador
parent
a24cb148
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/user/perfilUser.blade.php
View file @
93974019
...
...
@@ -103,6 +103,38 @@
@
enderror
</
div
>
</
div
>
@
isset
(
$avaliador
)
<
div
class
=
"col-md-6"
>
<
label
for
=
"area"
class
=
"col-form-label"
>
{{
__
(
'Área:'
)
}}
</
label
>
<
select
style
=
"display: inline"
class
=
"form-control @error('area') is-invalid @enderror"
name
=
"area"
id
=
"area"
>
@
if
(
Auth
()
->
user
()
->
avaliadors
->
area_id
==
null
)
<
option
value
=
""
selected
>
Indefinida
</
option
>
@
foreach
(
App\Area
::
all
()
as
$area
)
@
if
(
Auth
()
->
user
()
->
avaliadors
->
area_id
==
$area
->
id
)
<
option
value
=
"{{
$area->id
}}"
selected
>
{{
$area
->
nome
}}
</
option
>
@
else
<
option
value
=
"{{
$area->id
}}"
>
{{
$area
->
nome
}}
</
option
>
@
endif
@
endforeach
@
else
@
foreach
(
App\Area
::
all
()
as
$area
)
@
if
(
Auth
()
->
user
()
->
avaliadors
->
area_id
==
$area
->
id
)
<
option
value
=
"{{
$area->id
}}"
selected
>
{{
$area
->
nome
}}
</
option
>
@
else
<
option
value
=
"{{
$area->id
}}"
>
{{
$area
->
nome
}}
</
option
>
@
endif
@
endforeach
@
endif
</
select
>
@
error
(
'area'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
@
else
<
div
class
=
"col-md-6"
>
<
div
class
=
"form-group"
>
<
label
for
=
"cargo"
class
=
"col-form-label"
>
{{
__
(
'Cargo*'
)
}}
</
label
>
...
...
@@ -304,6 +336,7 @@
</
div
>
</
div
>
</
div
>
@
endisset
<
div
class
=
"col-md-12"
>
<
div
class
=
"d-flex justify-content-between align-items-center"
style
=
"margin-bottom:-0.3rem"
>
<
h5
class
=
"card-title"
style
=
"font-size:20px; font-family:Arial, Helvetica, sans-serif; font-family:Arial, Helvetica, sans-serif; "
>
Acesso
ao
sistema
</
h5
>
...
...
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