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