${_('Labs Settings')}

${h.secure_form(h.url('admin_settings_labs'), method='post')}
% if not c.lab_settings: ${_('There are no Labs settings currently')} % else: % for lab_setting in c.lab_settings:
% if lab_setting.type == 'bool':
${h.checkbox(lab_setting.key, 'True')} % if lab_setting.label: % endif
% if lab_setting.help:

${lab_setting.help}

% endif
% else:
${h.text(lab_setting.key, size=60)} ## TODO: johbo: This style does not yet exist for our forms, ## the lab settings seem not to adhere to the structure which ## we use in other places. % if lab_setting.label: % endif % if lab_setting.help:

${lab_setting.help}

% endif
% endif
% endfor
${h.submit('save', _('Save settings'), class_='btn')} ${h.reset('reset', _('Reset'), class_='btn')}
% endif
${h.end_form()}