From 60f9d41f48630c238393893a70f99b63af73c638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=83taireau?= Date: Sun, 7 Jun 2020 17:34:57 +0200 Subject: [PATCH] Enhance the style of the forms. Fixes #13 --- .../templates/products/edit_producer.html | 44 ++++++++--------- copanier/templates/products/edit_product.html | 47 ++++++++++--------- 2 files changed, 49 insertions(+), 42 deletions(-) diff --git a/copanier/templates/products/edit_producer.html b/copanier/templates/products/edit_producer.html index 9b09055..8c86bb3 100644 --- a/copanier/templates/products/edit_producer.html +++ b/copanier/templates/products/edit_producer.html @@ -30,38 +30,40 @@ {% if producer and producer.needs_price_update(delivery) %}

Les prix pour {{ producer.name }} ont besoin d'être validés.

{% endif %} -
+ +
{% if producer.id %} {% else %} - +
+ + +
{% endif %} -
{% if delivery.shipping.get(producer.id) %} diff --git a/copanier/templates/products/edit_product.html b/copanier/templates/products/edit_product.html index c270f50..f5e330c 100644 --- a/copanier/templates/products/edit_product.html +++ b/copanier/templates/products/edit_product.html @@ -19,39 +19,44 @@ {% endif %} -
-