1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-25 18:54:29 +01:00

fix form input string list

This commit is contained in:
kakwa 2015-06-23 22:30:43 +02:00
parent 1b5c737cd5
commit 5f9758832f

View File

@ -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']}"> <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> <span class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1">${attr['value']}</span>
% elif attr['type'] == 'stringlist': % elif attr['type'] == 'stringlist':
<select class="form-control" name="type"> <select class="form-control" name="${a}">
${value2} ${value2}
%for val in attr['values']: %for val in attr['values']:
<option>${val}</option> <option>${val}</option>