1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-25 02:34:31 +01:00

fix placeholder on string + allign

This commit is contained in:
kakwa 2015-06-02 23:37:29 +02:00
parent 228c65ab8f
commit c5796ae56e

View File

@ -4,13 +4,13 @@
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="basic-addon1">${attr['display_name']}</span> <span class="input-group-addon" id="basic-addon1">${attr['display_name']}</span>
% if attr['type'] == 'string': % if attr['type'] == 'string':
<input type="text" class="form-control" placeholder="Username" aria-describedby="basic-addon1" required> <input type="text" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" required>
% elif attr['type'] == 'email': % elif attr['type'] == 'email':
<input type="email" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" required> <input type="email" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" required>
% elif attr['type'] == 'int': % elif attr['type'] == 'int':
<input type="number" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" required> <input type="number" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" required>
% elif attr['type'] == 'fix': % elif attr['type'] == 'fix':
<input type="text" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" required> <input type="text" class="form-control" placeholder="${attr['description']}" aria-describedby="basic-addon1" required>
% elif attr['type'] == 'stringlist': % elif attr['type'] == 'stringlist':
<select class="form-control" name="type"> <select class="form-control" name="type">
%for val in attr['values']: %for val in attr['values']: