byceps/blueprints/admin/shop/article/templates/admin/shop/article/action_create_form_for_ticket_bundles_creation.html
{% extends 'layout/admin/shop/article.html' %}
{% from 'macros/admin.html' import render_backlink %}
{% from 'macros/forms.html' import form_buttons, form_field %}
{% set current_page_shop = shop %}
{% set page_title = _('Add action') %}
{% block before_body %}
{{ render_backlink(url_for('.view', article_id=article.id), article.item_number) }}
{%- endblock %}
{% block body %}
<h1 class="title">{{ page_title }}</h1>
<form action="{{ url_for('.action_create_for_ticket_bundles_creation', article_id=article.id) }}" method="post">
<div class="box">
{{ form_field(form.category_id, autofocus='autofocus') }}
{{ form_field(form.ticket_quantity, type='number', min=0, style='width: 5.5rem;') }}
</div>
{{ form_buttons(_('Add action')) }}
</form>
{%- endblock %}