2014-01-20 21:02:15 -05:00
// NOTE: DO NOT EDIT THE FOLLOWING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-variables.jade template.
2013-10-17 22:52:16 -04:00
each section in sections
if section.customizable
h2(id=section.id)= section.heading
if section.docstring
p!= section.docstring.html
2014-01-08 00:43:12 -05:00
each subsection in section.subsections
if subsection.heading
h3(id=subsection.id)= subsection.heading
div.row
2014-10-27 18:00:30 -04:00
each variable, index in subsection.variables
if index > 0 && index % 3 === 0
div.clearfix
2014-10-27 18:02:21 -04:00
div.col-xs-4
2014-01-08 00:43:12 -05:00
label(for="input-" + variable.name)= variable.name
2014-12-08 19:44:31 -05:00
- var helpId = "help-block-" + variable.name
2014-01-08 00:43:12 -05:00
input.form-control(
id="input-" + variable.name
type="text"
2014-12-08 19:44:31 -05:00
aria-describedby=variable.docstring ? helpId : undefined
2014-01-08 00:43:12 -05:00
value=variable.defaultValue
data-var=variable.name)
if variable.docstring
2014-12-08 19:44:31 -05:00
p.help-block(id=helpId)!= variable.docstring.html
2014-01-20 21:02:15 -05:00
// NOTE: DO NOT EDIT THE PRECEDING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-variables.jade template.