mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 01:14:21 +01:00
implementing default value in form
This commit is contained in:
parent
c969e730c4
commit
921eef4b04
@ -34,6 +34,8 @@ for a in sorted(attributes.keys(), key=lambda attr: attributes[attr]['weight']):
|
|||||||
else:
|
else:
|
||||||
value = ''
|
value = ''
|
||||||
value2 = ''
|
value2 = ''
|
||||||
|
if 'default' in attr and value == '':
|
||||||
|
value = ' value="'+ attr['default'] + '"'
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<span class="input-group-addon" id="basic-addon-${a}">${attr['display_name']}</span>
|
<span class="input-group-addon" id="basic-addon-${a}">${attr['display_name']}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user