merge complete
This commit is contained in:
parent
1b5d0fbf7d
commit
4d63b17e68
@ -1,6 +1,38 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% load i18n crispy_forms_filters %}
|
{% load i18n crispy_forms_filters %}
|
||||||
{% block title %}
|
{% block title %}
|
||||||
|
{% trans 'Billing Information' %}{% endblock %}
|
||||||
|
{% block content %}
|
||||||
|
{% comment %} <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">
|
||||||
|
|
||||||
|
|
||||||
|
<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> {% endcomment %}
|
||||||
|
|
||||||
|
|
||||||
|
<!---->
|
||||||
|
<div class="row justify-content-center mt-5 mb-3">
|
||||||
|
|
||||||
|
<div class="col-lg-8 col-md-10">
|
||||||
|
<div class="card shadow-sm border-0 rounded-3">
|
||||||
|
<div class="card-header bg-gray-200 py-3 border-0 rounded-top-3">
|
||||||
|
<h3 class="mb-0 fs-4 text-center">
|
||||||
|
{% trans "Provide billing data"|upper %}<span class="fas fa-file-invoice-dollar ms-2 text-primary"></span>
|
||||||
|
</h3>
|
||||||
{% trans 'Billing Information' %}
|
{% trans 'Billing Information' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
@ -24,12 +56,7 @@
|
|||||||
<i class="fa-solid fa-floppy-disk me-1"></i>
|
<i class="fa-solid fa-floppy-disk me-1"></i>
|
||||||
{{ _("Save") }}
|
{{ _("Save") }}
|
||||||
</button>
|
</button>
|
||||||
{% if object %}
|
<a href="{% url 'dealer_detail' request.dealer.slug %}" class="btn btn-lg btn-phoenix-secondary md-me-2" type="submit"><i class="fa-solid fa-ban me-1"></i>{{ _("Cancel") }}</a>
|
||||||
<a class="btn btn-phoenix-danger btn-lg" href="{% url 'billing_info_delete' %}">
|
|
||||||
<i class="fa-solid fa-trash me-1"></i>
|
|
||||||
{{ _("Delete") }}
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user