customizer-variables.jade 881 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// NOTE: DO NOT EDIT THE FOLLOWING SECTION DIRECTLY! It is autogenerated via the `build-customizer-vars-form` Grunt task using the customizer-variables.jade template.
each section in sections
  if section.customizable
    h2(id=section.id)= section.heading
    if section.docstring
      p!= section.docstring.html
    div.row
      each variable in section.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
// NOTE: DO NOT EDIT THE PRECEDING SECTION DIRECTLY! It is autogenerated via the `build-customizer-vars-form` Grunt task using the customizer-variables.jade template.