{% extends 'layouts/admin.twig' %}

{% block content %}

    <ul class="breadcrumbs el">
        <li><a href="/admin/">Home</a> /</li>
        <li><a href="/shop/admin/products/manage.products.php">Manage Products</a> /</li>
        <li class="end">{{ page_meta.title }}</li>
    </ul>

    <h1>{{ page_meta.title }}</h1>
    {{ item_tabnav|raw }}

    {% include 'admin/messages.twig' %}

    <div class="content">
        <form action="" method="post">
        {% for key,field in custom_fields %}
            <div class="row">
                <label for="{{ key }}">{{ field.name }}</label>
                <input name="{{ key }}" id="{{ key }}" value="{{ field.value }}" />
            </div>
        {% endfor %}
            <div class="row clearfix withLeftMargin">
                <input type="submit" value="Save" />
            </div>
            <input type="hidden" name="action" value="update" />
        </form>
    </div>

{% endblock %}
