haikal/templates/plans/billing_info_create_or_update.html
Marwan Alwali 83138fc3ed update
2025-02-04 22:35:17 +03:00

23 lines
854 B
HTML

{% extends 'base.html' %}
{% load i18n crispy_forms_filters %}
{% 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' %}"><!--<span class="far fa-trash-alt"></span>--> {{ _("Delete") }}</a>
{% endif %}
<button type="submit" class="btn btn-sm btn-phoenix-primary">
{{ _("Save") }}
</button>
</form>
</div>
</div>
{% endblock %}