From 1c3604db32a03180a63259119f8006301a019c38 Mon Sep 17 00:00:00 2001 From: John Martin Date: Tue, 23 Jul 2013 17:02:03 +0100 Subject: [PATCH] [#1089] Doc block updates --- ckan/templates/macros/form.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ckan/templates/macros/form.html b/ckan/templates/macros/form.html index 533e56a1be8..497dea6bf02 100644 --- a/ckan/templates/macros/form.html +++ b/ckan/templates/macros/form.html @@ -10,6 +10,7 @@ type - The type of input eg. email, url, date (default: text). error - A list of error strings for the field or just true to highlight the field. classes - An array of classes to apply to the control-group. +is_required - Boolean of whether this input is requred for the form to validate Examples: @@ -35,6 +36,7 @@ checked - If true the checkbox will be checked error - An error string for the field or just true to highlight the field. classes - An array of classes to apply to the control-group. +is_required - Boolean of whether this input is requred for the form to validate Example: @@ -72,6 +74,7 @@ selected - The value of the selected