mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-01 19:32:26 +02:00
158 rebase
This commit is contained in:
parent
e5de39e568
commit
59e07f370b
1 changed files with 4 additions and 4 deletions
|
@ -77,8 +77,8 @@
|
||||||
<p>Il n'y a pas de produits disponibles dans cette commande !</p>
|
<p>Il n'y a pas de produits disponibles dans cette commande !</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="title">Commander</p>
|
<p class="title">Commander</p>
|
||||||
<form id="inputs-parent" method="post" action="{% url 'order:order' grouped_order.code %}">
|
<form id="inputs-parent" method="post" action="{% url 'order:order' grouped_order.code %}" onSubmit="document.getElementById('submit').disabled=true;">
|
||||||
|
{% csrf_token %}
|
||||||
<!-- Tableau de commandes - sur ordi -->
|
<!-- Tableau de commandes - sur ordi -->
|
||||||
<table class="table is-hidden-touch">
|
<table class="table is-hidden-touch">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for item in grouped_order.item_set.all %}
|
{% for item in grouped_order.item_set.all %}
|
||||||
<tr>
|
<tr>
|
||||||
{% csrf_token %}
|
|
||||||
<td>{{ item.name }}</td>
|
<td>{{ item.name }}</td>
|
||||||
<td>{{ item.price }} €</td>
|
<td>{{ item.price }} €</td>
|
||||||
<td><input name="quantity_{{ item.id }}" size="4" type="number" value="0" min="0"
|
<td><input name="quantity_{{ item.id }}" size="4" type="number" value="0" min="0"
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
<textarea id="note" rows=3 placeholder="(facultatif)" name="note">{{ note }}</textarea></p>
|
<textarea id="note" rows=3 placeholder="(facultatif)" name="note">{{ note }}</textarea></p>
|
||||||
|
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button type="submit" value="Order" class="button is-primary">
|
<button id="submit" type="submit" value="Order" class="button is-primary">
|
||||||
<i class="fa fa-shopping-basket mr-3" aria-hidden="true"></i>Commander
|
<i class="fa fa-shopping-basket mr-3" aria-hidden="true"></i>Commander
|
||||||
</button>
|
</button>
|
||||||
<p>Total : <span class="total">0</span> €</p>
|
<p>Total : <span class="total">0</span> €</p>
|
||||||
|
|
Loading…
Reference in a new issue