<%- include('partials/_header')%>

    <div class="container mt-5">
        <div class="col-md-6">
            <div class="card">
                <div class="card-header">
                    <h3 class="text-center mt-2">Actualizar Categoria</h3>
                </div>
                <div class="card-body">
                    <form action="/categories/update/<%= data[0].idCategoria %>" method="POST">
                        <div class="form-group">
                            <input type="text" name="nombre" placeholder="Nuevo Nombre" value="<%= data[0].nombre %>" class="form-control">
                        </div>
                        <button type="submit" class="btn btn-primary">Actualizar Categoria</button>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <%- include('partials/_footer')%>