{% from 'forms/_form.html' import form_header, form_rows, form_footer %} {% from 'message_box.html' import message_box %} {% if not can_modify %} {% call message_box('warning', fixed_width=true) %} {% trans %}You cannot modify this payment method.{% endtrans %}
{{ template_hook('event-manage-payment-plugin-cannot-modify', plugin=plugin, event=event) }} {% endcall %} {% endif %} {% if invalid_regforms %} {% call message_box('warning', fixed_width=true) %} {% trans -%} This payment method only supports these currencies: {%- endtrans %} {{ plugin.valid_currencies|join(', ') }}.
{% trans -%} The following registration forms won't be able to use this method: {%- endtrans %} {% endcall %} {% endif %} {{ template_hook('event-manage-payment-plugin-before-form', plugin=plugin, event=event) }} {{ form_header(form) }} {{ form_rows(form, widget_attrs=widget_attrs) }} {% call form_footer(form) %} {% if can_modify %} {% trans %}Cancel{% endtrans %} {% else %} {% trans %}Back{% endtrans %} {% endif %} {% endcall %}