From 53ce5b7742f29cbc13d2caff50486dd3570569ba Mon Sep 17 00:00:00 2001 From: Aron Carroll Date: Thu, 21 Jun 2012 16:22:52 +0100 Subject: [PATCH] [2556] Only show remove checkbox if custom fields have data --- ckan/templates/macros/form.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ckan/templates/macros/form.html b/ckan/templates/macros/form.html index 0da8cdba1eb..44c7340a883 100644 --- a/ckan/templates/macros/form.html +++ b/ckan/templates/macros/form.html @@ -181,9 +181,11 @@
- + {% if values[0] or values[1] or error %} + + {% endif %}
{% endcall %} {% endmacro %}