ref: legacy
src/templates/new_product_category.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
{% extends 'layout.html' %}
{% block body %}
<section class="messages">
{% with messages = get_flashed_messages() %}
{% if messages %}
<section>
{{ messages[0] }}
</section>
{% endif %}
{% endwith %}
</section>
<form action='{{ url_for('product_categories.index') }}' method="POST">
<div class="form-section">
<label for="name">Name</label>
<input type="text" placeholder="Name" name="name">
</div>
<div class="form-section">
<label for="description">Description</label>
<textarea rows="10" columns="50" placeholder="Description" name="description"></textarea>
</div>
<div class="form-action">
<button type="submit" rel="button">Criar Categoria</button>
</div>
</form>
{% endblock %}
|