1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-12-23 05:10:03 +01:00

implementing form list

This commit is contained in:
kakwa 2015-06-02 08:33:46 +02:00
parent af0ac631cb
commit 228c65ab8f

View File

@ -12,7 +12,11 @@
% elif attr['type'] == 'fix':
<input type="text" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" required>
% elif attr['type'] == 'stringlist':
<input type="text" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" required>
<select class="form-control" name="type">
%for val in attr['values']:
<option>${val}</option>
%endfor
</select>
% elif attr['type'] == 'password':
<input type="password" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" required>
<span class="input-group-addon" id="basic-addon1">Retype ${attr['display_name']}</span>