The current code appears to always generate an empty id="" attribute,
as the "id" variable never gets populated. For now, protect against
the empty ID attribute.
Signed-off-by: Dan Scott <dan@coffeecode.net>
# PROCESS build_org_selector id='selector-id' name='selector-name'
BLOCK build_org_selector;
%]
- <select id='[% id %]' name='[% name %]'>
+ <select [% IF id %] id='[% id %]' [% END %] name='[% name %]'>
[% PROCESS build_org_selector_options walker=(org_unit || ctx.aou_tree) value=value %]
</select>
[% END %]