${_('Plugin')}: ${resource.display_name}
${h.secure_form(request.resource_path(resource, route_name='auth_home'))}
%for node in plugin.get_settings_schema():
<% label_css_class = ("label-checkbox" if (node.widget == "bool") else "") %>
%endfor
${h.end_form()}
%if node.widget in ["string", "int", "unicode"]:
${h.text(node.name, node.default, class_="medium")}
%elif node.widget == "password":
${h.password(node.name, node.default, class_="medium")}
%elif node.widget == "bool":
%endif
${h.checkbox(node.name, node.default)}
%elif node.widget == "select":
${h.select(node.name, node.default, node.validator.choices)}
%elif node.widget == "readonly":
${node.default}
%else:
This field is of type ${node.typ}, which cannot be displayed. Must be one of [string|int|bool|select].
%endif
%if node.name in errors:
%endif
${node.description}