source: trunk/LATMOS-Accounts-Web/root/html/includes/select_objects_list.tt @ 1131

Last change on this file since 1131 was 1131, checked in by nanardon, 12 years ago

AttrFilter? don't automatically fill stash anymore

File size: 492 bytes
Line 
1[% objectslist = ofilter.objectslist %]
2<select name="obj" id="obj">
3[% IF objectslist.size > 1 %]
4<option value="">--</option>
5[% END %]
6
7[% FOREACH name = objectslist %]
8
9[% IF objectslist.size < 20 %]
10[% object = c.model('Accounts').db.get_object(ofilter.otype, name) %]
11<option value="[% name | html %]">[% name | html %] ([%
12object.get_attributes('displayName') | html %])</option>
13[% ELSE %]
14<option value="[% name | html %]">[% name | html %]</option>
15[% END %]
16
17[% END %]
18
19</select>
20
Note: See TracBrowser for help on using the repository browser.