source:
trunk/LATMOS-Accounts-Web/root/html/includes/select_objects_list.tt
@
1107
Last change on this file since 1107 was 1107, checked in by nanardon, 12 years ago | |
---|---|
File size: 392 bytes |
Line | |
---|---|
1 | <select name="obj" id="obj"> |
2 | <option value="">--</option> |
3 | |
4 | [% FOREACH name = objectslist %] |
5 | |
6 | [% IF objectslist.size < 20 %] |
7 | [% object = db.get_object(ofilter.otype, name) %] |
8 | <option value="[% name | html %]">[% name | html %] ([% |
9 | object.get_attributes('displayName') | html %])</option> |
10 | [% ELSE %] |
11 | <option value="[% name | html %]">[% name | html %]</option> |
12 | [% END %] |
13 | |
14 | [% END %] |
15 | |
16 | </select> |
17 |
Note: See TracBrowser
for help on using the repository browser.