haikal/templates/plans/billing_info_create_or_update.html
2025-06-15 17:56:42 +03:00

25 lines
960 B
HTML

{% extends 'base.html' %}
{% load i18n crispy_forms_filters %}
{%block title%} {% trans 'Billing Information'%}{%endblock%}
{% block content %}
<div class="row mb-3">
<div class="col-sm-6">
<form action="{% url 'billing_info' %}{% if request.GET.next %}?next={{ request.GET.next }}{% endif %}" method="post" class="form">
<legend>{% trans "Provide billing data"|upper %}</legend>
{% csrf_token %}
{{ form|crispy }}
{% if object %}
<a class="btn btn-sm btn-phoenix-danger" href="{% url 'billing_info_delete' %}"><i class="fa-solid fa-trash me-1"></i> {{ _("Delete") }}</a>
{% endif %}
<button type="submit" class="btn btn-sm btn-phoenix-success">
<i class="fa fa-save me-1"></i>{{ _("Save") }}
</button>
</form>
</div>
</div>
{% endblock %}