CostHive/app/templates/main/new_item.html
Lunaresk 764738b20d major: upload and storage of recipes
PDF-Recipes are uploadable and some basic functions are already
implemented.
Also minor bugfixes.
2022-11-14 21:03:00 +01:00

17 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% import 'bootstrap/wtf.html' as wtf %}
{% block app_content %}
<form action="" method="post">
{{ form.hidden_tag() }}
{{ wtf.form_field(form.id, class=form.id.render_kw["class"] or "form-control mb-3") }}
{{ wtf.form_field(form.name, class=form.name.render_kw["class"] or "form-control mb-3") }}
{{ wtf.form_field(form.description, class=form.description.render_kw["class"] or "form-control mb-3") }}
{{ wtf.form_field(form.date, class=form.date.render_kw["class"] or "form-control mb-3") }}
{{ wtf.form_field(form.price_change, class=form.price_change.render_kw["class"] or "form-control mb-3") }}
{{ wtf.form_field(form.amount_change, class=form.amount_change.render_kw["class"] or "form-control mb-3") }}
{{ wtf.form_field(form.category, class=form.category.render_kw["class"] or "form-control mb-3") }}
{{ wtf.form_field(form.brand, class=form.brand.render_kw["class"] or "form-control mb-3") }}
{{ wtf.form_field(form.submit, class=form.submit.render_kw["class"] or "btn btn-primary mt-3") }}
</form>
{% endblock %}