<%inherit file="/template.html" />
<%namespace name="components" file="/components.html"/>
<%namespace name="badge_tiles" file="/badge/tiles.html"/>
<%def name="title()">${_("Edit badges for %s") % c.proposal.title|n}</%def>

<%def name="breadcrumbs()">
${h.proposal.breadcrumbs(c.proposal)|n} &raquo; ${_("Edit Badges")}
</%def>


<%block name="main_content">
<form name="settings" class="inplace" method="POST"
      action="${h.entity_url(c.proposal, member='update_badges')}">

    ${h.field_token()|n}
    <h3>${_(u"Badges")}</h3>

    ${badge_tiles.select_form(c.badges, _('Badges'), _('No badges'), 'badge')}
    ${badge_tiles.select_form(c.thumbnailbadges, _('Status badges'), _('No status badges'), 'thumbnailbadge', input_type='radio', no_text=_('No Status Badge'))}

    ${components.savebox(h.base_url("/proposal/%s" % c.proposal.id))}
</form>
</%block>
