From 3ae73efc60d570fc3f0e918be3889f0ae5a9f263 Mon Sep 17 00:00:00 2001 From: Sebastin Santy Date: Tue, 4 Jul 2017 01:11:09 +0530 Subject: Bug 1365345 - Modal Bug Entry Prototype --- extensions/BugModal/template/en/default/bug_modal/field.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extensions/BugModal/template/en') diff --git a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl index e84327307..c54f7c257 100644 --- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl @@ -28,6 +28,7 @@ # edit html instead of replacing it. forces edit_only (default: false); # default: (string) default value (eg. used as a placeholder in user fields) # help: (string) optional url that describes the field (requires a label to be defined and visible) + # required: (boolean) if the field is required. (At present, only implemented for FIELD_TYPE_FREETEXT) # action: (hash) show a button to the right of the edit field (user fields only currently). keys: # id: (string) optional button id # class: (string) optional button class @@ -218,7 +219,7 @@ END; [% CASE constants.FIELD_TYPE_FREETEXT %] [%# normal input field %] - + [% CASE constants.FIELD_TYPE_USER %] [% IF action && !action.hidden %]