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
94e74d24
Commit
94e74d24
authored
Jul 26, 2022
by
S-Nathalia
Browse files
Ao editar o tipo do usuário está causando erro.#456
parent
5a805a92
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/administrador/editar_user.blade.php
View file @
94e74d24
...
...
@@ -66,7 +66,8 @@
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"tipo"
class
=
"col-form-label"
>
{{
__
(
'Tipo*'
)
}}
</
label
>
<
select
name
=
"tipo"
id
=
"tipo"
onchange
=
"mudar()"
class
=
"form-control"
>
<
input
readonly
id
=
"tipo"
type
=
"text"
name
=
"tipo"
value
=
"
{
{$user->tipo}
}
"
class
=
"form-control"
autofocus
/>
<!--
<
select
disabled
name
=
"tipo"
id
=
"tipo"
onchange
=
"mudar()"
class
=
"form-control"
>
@
if
(
auth
()
->
user
()
->
tipo
==
'administrador'
)
<
option
@
if
(
$user
->
tipo
==
'administradorResponsavel'
)
selected
@
endif
value
=
"administradorResponsavel"
>
Administrador
responsável
</
option
>
@
endif
...
...
@@ -74,7 +75,7 @@
<
option
@
if
(
$user
->
tipo
==
'avaliador'
)
selected
@
endif
value
=
"avaliador"
>
Avaliador
</
option
>
<
option
@
if
(
$user
->
tipo
==
'proponente'
)
selected
@
endif
value
=
"proponente"
>
Proponente
</
option
>
<
option
@
if
(
$user
->
tipo
==
'participante'
)
selected
@
endif
value
=
"participante"
>
Discente
</
option
>
</
select
>
</
select
>
-->
</
div
>
<
div
class
=
"col-md-2"
>
<
label
for
=
"celular"
class
=
"col-form-label"
>
{{
__
(
'Celular*'
)
}}
</
label
>
...
...
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