~homeworkprod/byceps

40b274f55f1922b3d26f25980f4f2ca49caff266 — Jochen Kupperschmidt 7 days ago 7e827dc
Link from shop article and storefront creation forms to respective sequence creation forms
M byceps/blueprints/admin/shop/article/templates/admin/shop/article/create_form.html => byceps/blueprints/admin/shop/article/templates/admin/shop/article/create_form.html +1 -1
@@ 16,7 16,7 @@
  {%- else %}
  <form action="{{ url_for('.create', shop_id=shop.id) }}" method="post">
    {% call form_fieldset() %}
      {{ form_field(form.article_number_sequence_id, required='required', autofocus='autofocus') }}
      {{ form_field(form.article_number_sequence_id, required='required', note='<a href="%s">Neue Sequenz erstellen</a>'|format(url_for('shop_article_admin.create_number_sequence_form', shop_id=shop.id)), autofocus='autofocus') }}
      {{ form_field(form.description, maxlength=80, required='required') }}
      {{ form_field(form.price, size=7, maxlength=7, style='text-align: right; width: 5.5rem;', required='required', note='€') }}
      {{ form_field(form.tax_rate, list='tax_rates', size=5, maxlength=5, style='text-align: right; width: 5.5rem;', required='required', note='%') }}

M byceps/blueprints/admin/shop/storefront/templates/admin/shop/storefront/create_form.html => byceps/blueprints/admin/shop/storefront/templates/admin/shop/storefront/create_form.html +1 -1
@@ 18,7 18,7 @@
    {% call form_fieldset() %}
      {{ form_field(form.id, maxlength=80, required='required', autofocus='autofocus') }}
      {{ form_field(form.catalog_id) }}
      {{ form_field(form.order_number_sequence_id, required='required') }}
      {{ form_field(form.order_number_sequence_id, required='required', note='<a href="%s">Neue Sequenz erstellen</a>'|format(url_for('shop_order_admin.create_number_sequence_form', shop_id=shop.id))) }}
    {% endcall %}

    {{ form_buttons('Speichern', cancel_url=url_for('.index_for_shop', shop_id=shop.id)) }}