mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24:21 +01:00
fix form input string list
This commit is contained in:
parent
1b5c737cd5
commit
5f9758832f
@ -46,7 +46,7 @@ for a in sorted(attributes.keys(), key=lambda attr: attributes[attr]['weight']):
|
||||
<input type="hidden" name="${a}" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" ${required} value="${attr['value']}">
|
||||
<span class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1">${attr['value']}</span>
|
||||
% elif attr['type'] == 'stringlist':
|
||||
<select class="form-control" name="type">
|
||||
<select class="form-control" name="${a}">
|
||||
${value2}
|
||||
%for val in attr['values']:
|
||||
<option>${val}</option>
|
||||
|
Loading…
Reference in New Issue
Block a user