required is bad user experience on android
This commit is contained in:
parent
20e5b88dae
commit
f75b6abe61
|
@ -23,21 +23,21 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group {{ ("has-success" if get("name", False) else "has-error") + " has-feedback" if get("feedback", False) else "" }}">
|
<div class="form-group {{ ("has-success" if get("name", False) else "has-error") + " has-feedback" if get("feedback", False) else "" }}">
|
||||||
<label for="name">Name, Vorname:</label>
|
<label for="name">Name, Vorname:</label>
|
||||||
<input id="name" class="form-control" placeholder="Söder, Markus" name="name" value="{{ get("name", "") }}" required>
|
<input id="name" class="form-control" placeholder="Söder, Markus" name="name" value="{{ get("name", "") }}">
|
||||||
% if get("feedback", False):
|
% if get("feedback", False):
|
||||||
<span class="glyphicon {{ "glyphicon-ok" if get("name", False) else "glyphicon-remove" }} form-control-feedback"></span>
|
<span class="glyphicon {{ "glyphicon-ok" if get("name", False) else "glyphicon-remove" }} form-control-feedback"></span>
|
||||||
% end
|
% end
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group {{ ("has-success" if get("address", False) else "has-error") + " has-feedback" if get("feedback", False) else "" }}">
|
<div class="form-group {{ ("has-success" if get("address", False) else "has-error") + " has-feedback" if get("feedback", False) else "" }}">
|
||||||
<label for="address">Adresse:</label>
|
<label for="address">Adresse:</label>
|
||||||
<input id="address" class="form-control" placeholder="Jakobstraße 46, 90402 Nürnberg" name="address" value="{{ get("address", "") }}" required>
|
<input id="address" class="form-control" placeholder="Jakobstraße 46, 90402 Nürnberg" name="address" value="{{ get("address", "") }}">
|
||||||
% if get("feedback", False):
|
% if get("feedback", False):
|
||||||
<span class="glyphicon {{ "glyphicon-ok" if get("address", False) else "glyphicon-remove" }} form-control-feedback"></span>
|
<span class="glyphicon {{ "glyphicon-ok" if get("address", False) else "glyphicon-remove" }} form-control-feedback"></span>
|
||||||
% end
|
% end
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group {{ ("has-success" if get("contact", False) else "has-error") + " has-feedback" if get("feedback", False) else "" }}">
|
<div class="form-group {{ ("has-success" if get("contact", False) else "has-error") + " has-feedback" if get("feedback", False) else "" }}">
|
||||||
<label for="contact">Email/Telefon:</label>
|
<label for="contact">Email/Telefon:</label>
|
||||||
<input id="contact" class="form-control" placeholder="markus.soeder@soeder.de" name="contact" value="{{ get("contact", "") }}" required>
|
<input id="contact" class="form-control" placeholder="markus.soeder@soeder.de" name="contact" value="{{ get("contact", "") }}">
|
||||||
% if get("feedback", False):
|
% if get("feedback", False):
|
||||||
<span class="glyphicon {{ "glyphicon-ok" if get("contact", False) else "glyphicon-remove" }} form-control-feedback"></span>
|
<span class="glyphicon {{ "glyphicon-ok" if get("contact", False) else "glyphicon-remove" }} form-control-feedback"></span>
|
||||||
% end
|
% end
|
||||||
|
|
Loading…
Reference in a new issue