<%inherit file="/instance/settings.html" /> <%namespace name="forms" file="/forms.html"/> <%namespace name="components" file="/components.html"/> <%block name="settings_content">
${components.flashmessages()}

${c.settings_menu.current['label']}

${h.field_token()|n} ${forms.select(_("Language"), 'locale', c.locales, help=_("The language setting will be overridden by the user's personal setting."), autofocus=True)} ${forms.checkbox(_("Enable delegated voting"), 'allow_delegate')} ${forms.checkbox(_("Enable milestones"), 'milestones', help=_("Milestones link the online discussions with offline events through a calendar function."))} ${forms.checkbox(_("Display category pages"), 'display_category_pages')}
${components.hidden_badge_table(c.category_badge_tables, 'category', _(u'categories'))}
<% instance_stylesheets = h.config.get_list('adhocracy.instance_stylesheets') %> <% instance_themes = h.config.get_list('adhocracy.instance_themes') %> %if c.page_instance.is_authenticated and instance_themes and c.page_instance.key not in instance_stylesheets:
${_('Themes')}

${_('You can select one of several themes to customize the appearance of this instance.')}

%for theme in instance_themes: %endfor
${forms.radio(_('default'), 'theme', '')} ${_('preview')}
${forms.radio(theme, 'theme', theme)} ${_('preview')}
%endif ${components.savebox(h.base_url("/instance/%s" % c.page_instance.key))} %if can.instance.delete(c.page_instance):
${_("Delete this instance")}
%endif