mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 23:15:05 +00:00
Fix Bugs
This commit is contained in:
@ -19,6 +19,12 @@
|
||||
<label>Email</label>
|
||||
<input type="email" class="form-control" asp-for="Email">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" id="admin" asp-for="EAdmin">
|
||||
<label class="custom-control-label" for="admin">É Administrador?</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Senha</label>
|
||||
<input type="password" class="form-control" asp-for="Senha">
|
||||
|
@ -28,7 +28,7 @@
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Nome</th>
|
||||
<th scope="col">Email</th>
|
||||
<th scope="col">Admin</th>
|
||||
<th scope="col">É Admin</th>
|
||||
<th scope="col">Opções</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -39,16 +39,7 @@
|
||||
<td>@d.Id</td>
|
||||
<td>@d.Nome</td>
|
||||
<td>@d.Email</td>
|
||||
<td>
|
||||
@if (d.EAdmin == true)
|
||||
{
|
||||
<span>Sim</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span>Não</span>
|
||||
}
|
||||
</td>
|
||||
<td>@d.EAdmin</td>
|
||||
<td>
|
||||
<a asp-area="" asp-controller="Desenvolvedores" asp-action="Edit" asp-route-id="@d.Id">
|
||||
<i class="fas fa-edit"></i>
|
||||
|
Reference in New Issue
Block a user