mirror of
https://github.com/kakwa/ldapcherry
synced 2024-12-23 05:10:03 +01:00
implementing form list
This commit is contained in:
parent
af0ac631cb
commit
228c65ab8f
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user