18 lines
		
	
	
		
			694 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			694 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<div class="form-group {% if field.errors %}has-error{% endif %}">
 | 
						|
  {% if field.label %}
 | 
						|
    <label {% if style.hide_label %}class="sr-only"{% endif %}>
 | 
						|
      {{ field.label }}
 | 
						|
    </label>
 | 
						|
  {% endif %}
 | 
						|
 | 
						|
  <textarea name="{{ field.name }}" class="form-control" {% if style.placeholder %}placeholder="{{ style.placeholder }}"{% endif %} {% if style.rows %}rows="{{ style.rows }}"{% endif %}>{% if field.value %}{{ field.value }}{% endif %}</textarea>
 | 
						|
 | 
						|
  {% if field.errors %}
 | 
						|
    {% for error in field.errors %}<span class="help-block">{{ error }}</span>{% endfor %}
 | 
						|
  {% endif %}
 | 
						|
 | 
						|
  {% if field.help_text %}
 | 
						|
    <span class="help-block">{{ field.help_text|safe }}</span>
 | 
						|
  {% endif %}
 | 
						|
</div>
 |