[%
PROCESS elements.html;
# Build text for dropdown options
FOREACH h IN form.all_headings;
h.text = h.accno _ '--' _ h.description;
END;
null_heading = [{
id = -1,
text = '-- ' _ text('NONE') _ ' --'
}];
%]
[% IF form.charttype == 'H'; %]
[% # if we put the FORM tag as the toplevel tab element,
# we get trouble: content gets cut off; wrap in a div
# although maybe the point is not to have the toplevel
# be a *widget*...? %]