From 8121a1ada04dc3b90d604af2718d944036a913f5 Mon Sep 17 00:00:00 2001 From: Gustavo Date: Mon, 20 Mar 2017 12:09:27 -0300 Subject: [PATCH] Including mandatory field signaling in create category --- categories/templates/categories/_form.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/categories/templates/categories/_form.html b/categories/templates/categories/_form.html index 6d58e53..56e80dd 100644 --- a/categories/templates/categories/_form.html +++ b/categories/templates/categories/_form.html @@ -26,7 +26,12 @@ {% else %}
{% if field.auto_id != 'id_visible' %} - + {% if field.field.required %} + + {% else %} + + + {% endif %} {% endif %} {% if field.auto_id == 'id_visible' %}
@@ -115,4 +120,4 @@ btn.switchClass("fa-angle-down", "fa-angle-right", 250, "easeInOutQuad"); } }); - \ No newline at end of file + -- libgit2 0.21.2