haikal/templates/plans/billing_info_create_or_update.html
Marwan Alwali aaf12c950b update
2025-01-26 13:33:57 +03:00

24 lines
905 B
HTML

{% extends 'base.html' %}
{% load i18n crispy_forms_filters %}
{% block body %}
<div class="row">
<div class="col-sm-6">
<form action="{% block "action_url" %}{% url 'billing_info' %}{% endblock %}{% if request.GET.next %}?next={{ request.GET.next }}{% endif %}" method="post" class="form">
{% block "form-content" %}
<legend>{% trans "Provide billing data" %}</legend>
{% csrf_token %}
{{ form|crispy }}
{% if object %}
<a class="btn btn-sm btn-phoenix-danger" href="{% url 'billing_info_delete' %}">{{ _("Delete") }}</a>
{% endif %}
<button type="submit" class="btn btn-sm btn-phoenix-primary">
{{ _("Save") }}
</button>
{% endblock %}
</form>
</div>
</div>
{% endblock %}