26 lines
1.0 KiB
HTML
26 lines
1.0 KiB
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">
|
|
|
|
{% comment %} <legend>{% trans "Provide billing data"|upper %}</legend> {% endcomment %}
|
|
<h3>{% trans "Provide billing data"|upper %}</h3>
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
|
|
<button type="submit" class="btn btn-sm btn-phoenix-success me-2">
|
|
<i class="fa fa-save me-1"></i>{{ _("Save") }}
|
|
</button>
|
|
{% 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 %}
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|