Adds placeholder to name field, fixes #25

This commit is contained in:
Feliciaan De Palmenaer 2015-04-02 20:56:31 +02:00
parent f12c7b4849
commit 85790c0a45

View file

@ -32,7 +32,7 @@
{% if current_user.is_anonymous() %}
<div class="form-group{{ ' has-error' if form.name.errors }}{{ ' required' if form.name.flags.required }}">
{{ form.name.label(class='control-label') }}
{{ form.name(class='form-control') }}
{{ form.name(class='form-control', placeholder='Fill in your name...') }}
{{ util.render_form_field_errors(form.name) }}
</div>
{% endif %}