10 lines
376 B
HTML
10 lines
376 B
HTML
<div class="form-group {% if field.errors %}has-error{% endif %}">
|
|
{% if field.label %}
|
|
<label class="sr-only">
|
|
{{ field.label }}
|
|
</label>
|
|
{% endif %}
|
|
|
|
<input name="{{ field.name }}" type="text" class="form-control" {% if style.placeholder %}placeholder="{{ style.placeholder }}"{% endif %} {% if field.value %}value="{{ field.value }}"{% endif %}>
|
|
</div>
|