]> git.ipfire.org Git - people/ms/westferry.git/blob - src/templates/modules/forms/element.html
templates: Migrate base template to Foundation
[people/ms/westferry.git] / src / templates / modules / forms / element.html
1 <div class="form-group">
2 {% if e.label %}
3 <label class="col-sm-2 control-label">{{ e.label }}</label>
4 {% end %}
5
6 <div class="col-sm-10 {% if not e.label %}col-sm-offset-2{% end %}">
7 {% module FormInput(e) %}
8
9 {% if e.help %}
10 <span class="help-block">{{ e.help }}</span>
11 {% end %}
12 </div>
13 </div>