<%inherit file="/user/settings.html" />
<%namespace name="forms" file="/forms.html"/>
<%namespace name="components" file="/components.html"/>


<%block name="settings_content">
${tiles.user.header(c.page_user, show_delete_user_button=True)}
<form class="well" method="POST" enctype="multipart/form-data">

    <input type="hidden" name="_method" value="PUT" />

    ${h.field_token()|n}

    ${components.flashmessages()}

    <h2>${_(u'Advanced settings')}</h2>

    ${components.proposal_sort_order('proposal_sort_order', c.sorting_orders, include_empty=True)}

    ${forms.select(_("Pager size"), 'page_size', c.pager_sizes, help=_("Default number of entries in listing pages"))}

    ${forms.checkbox(_("Disable help messages"), 'no_help', help=_(u"Disable help messages and links to the documentation"))}

    ${components.savebox(cancel_url=None)}

</form>
</%block>
