customizer-variables.jade 1016 Bytes
Newer Older
1
// NOTE: DO NOT EDIT THE FOLLOWING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-variables.jade template.
2
3
4
5
6
each section in sections
  if section.customizable
    h2(id=section.id)= section.heading
    if section.docstring
      p!= section.docstring.html
7
8
9
10
11
12
13
14
15
16
17
18
19
20
    each subsection in section.subsections
      if subsection.heading
        h3(id=subsection.id)= subsection.heading
      div.row
        each variable in subsection.variables
          div.bs-customizer-input
            label(for="input-" + variable.name)= variable.name
            input.form-control(
              id="input-" + variable.name
              type="text"
              value=variable.defaultValue
              data-var=variable.name)
            if variable.docstring
              p.help-block!= variable.docstring.html
21
// NOTE: DO NOT EDIT THE PRECEDING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-variables.jade template.