From 7542df5c7cf4e84655c7dd48d2980bedafbd37c4 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 11 Jul 2016 11:49:08 +0530 Subject: [PATCH] [fix] error messages and minor fix in form_macros.html --- frappe/templates/includes/form_macros.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/templates/includes/form_macros.html b/frappe/templates/includes/form_macros.html index fd3d03374d..d83974cc65 100644 --- a/frappe/templates/includes/form_macros.html +++ b/frappe/templates/includes/form_macros.html @@ -4,7 +4,7 @@ {{ key }}="{{ value }}" {% endfor %}{% endif %}> {% if options -%} {% for option in options -%} - {% set option_value = option.value if option is missing else option %} + {% set option_value = option.value if option is mapping else option %} {%- endfor %}