From a6e9ad3f21e70e11d5daa4e10c6f12a377e661a5 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 24 Jan 2015 03:02:44 -0400 Subject: [PATCH] Add flag to hide labels of a form --- mayan/apps/main/templates/main/generic_form_instance.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/main/templates/main/generic_form_instance.html b/mayan/apps/main/templates/main/generic_form_instance.html index 8e88e85fae..b5f112151b 100644 --- a/mayan/apps/main/templates/main/generic_form_instance.html +++ b/mayan/apps/main/templates/main/generic_form_instance.html @@ -47,7 +47,7 @@ {% for field in form.visible_fields %}
{% if field.errors %}
{% endif %} - + {% if not hide_labels %}{% endif %} {% if field.errors %}{% for error in field.errors %}{{ error }}{% if not forloop.last %} | {% endif %}{% endfor %}
{% endif %} {{ field }} {% if field.help_text %}{{ field.help_text }}{% endif %}