${_('Labs Settings')}

${h.secure_form(url('admin_settings_labs'), method='post')}
% 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')}
${h.end_form()}