Die Suche ergab 2 Treffer
- Mittwoch 20. Dezember 2017, 19:36
- Forum: Webframeworks
- Thema: Flask + Bootstrap: Problem mit has-error css in Form
- Antworten: 3
- Zugriffe: 1878
Re: Flask + Bootstrap: Problem mit has-error css in Form
Super! Vielen Dank! :) Hat auf Anhieb geklappt. Irgendwie stand ich da wohl auf dem Schlauch. Aber mal noch eine andere Frage: Ist es möglich, einen Validator auch "ausserhalb" der Form Validation zu aktivieren? Ich bin aktuell am Login dran. Aktuell ist das so, dass sowohl Username als au...
- Montag 18. Dezember 2017, 18:55
- Forum: Webframeworks
- Thema: Flask + Bootstrap: Problem mit has-error css in Form
- Antworten: 3
- Zugriffe: 1878
Flask + Bootstrap: Problem mit has-error css in Form
Hallo, ich bin derzeit dabei, eine kleine WebApp inklusive Userregistrierung mit Flask + Bootstrap + SQLAlchemy + wtforms zu schreiben. Dazu nutze ich das render_field macro aus der wtforms Dokumentation. {% macro render_field(field) %} <dt>{{ field.label }} <dd>{{ field(**kwargs)|safe }} {% if fiel...