diff options
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/field.html.tmpl')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/field.html.tmpl | 9 |
1 files changed, 9 insertions, 0 deletions
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 2d2cb56cf..787b8d9f1 100644 --- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl @@ -22,6 +22,8 @@ # short_width: (boolean) the field shouldn't take up much space at all (default: false) # hide_on_view: (boolean) hide field from read-only view (default: false) # hide_on_edit: (boolean) hide content when in edit mode (default: false) + # append_content: (boolean) when called as a WRAPPER, the content will be appended to the + # edit html instead of replacing it. forces edit_only (default: false); #%] [% @@ -43,6 +45,9 @@ END; IF !editable.defined; editable = bug.check_can_change_field(name, 0, 1); END; +IF append_content; + edit_only = 1; +END; IF inline && !label.defined; no_label = 1; END; @@ -248,6 +253,10 @@ END; ('[% name FILTER html %]' [[% field_type FILTER html %])] not supported) [% END %] + + [% IF append_content && content.defined %] + [% content FILTER none %] + [% END %] </div> [% END %] </div> |