usuarioDetails.ejs 1.04 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
    <% include ../partials/head %>
    <body>
        <% include ../partials/admin-header %>
        <% if (message.length > 0) { %>
            <div class="card margin"><%= message %></div>
        <% } %>
        <section class="page-wrap margin card">
            <h1><%= usuario.nome %></h1>
            <form method="post">
                <label for="nome">Nome: </label>
                <input type="text" name="nome" value="<%= usuario.nome %>">
                <br>
                <label for="nome">Username: </label>
                <input type="text" name="username" value="<%= usuario.username %>">
                <br>
                <label for="nome">E-mail: </label>
                <input type="text" name="email" value="<%= usuario.email %>">
20
                <br>
21
                <input type="submit" name="submit" value="Enviar" class="button normal">
22
                <a href="/admin/usuarios" class="button red">Cancelar</a>
23
24
25
26
27
            </form>
        </section>
        <% include ../partials/footer %>
    </body>
</html>