{% from "devhub/includes/macros.html" import some_html_tip %} {% extends "devhub/addons/submit/base.html" %} {% block title %}{{ dev_page_title(_('Step 5'), addon) }}{% endblock %} {% block primary %}

{{ _('Step 5. Select a License') }}

{% if license_form %}

{% trans %} We require all add-ons to indicate the terms under which their source code is licensed. Please select a license from the list below or enter a custom license. {% endtrans %}

{% endif %}
{{ csrf() }} {% if license_form %} {{ _('Select a license for your add-on:') }}
{{ license_form.builtin.errors }} {{ license_form.builtin }} {% set show_other = (license_form.initial.builtin == license_other_val or (license_form.errors and not license_form.builtin.errors)) %}
{{ license_form.non_field_errors() }} {{ license_form.name.errors }} {{ license_form.name.label_tag() }} {{ license_form.name }} {{ license_form.text.errors }} {{ license_form.text.label_tag() }} {{ license_form.text }} {{ some_html_tip() }}
{% endif %} {% set values = policy_form.data if policy_form.is_bound else policy_form.initial %}
{{ policy_form.has_eula }} {{ policy_form.has_eula.label_tag() }}
{{ policy_form.eula.errors }} {{ policy_form.eula.label_tag() }} {{ policy_form.eula }} {{ some_html_tip() }}
{{ policy_form.has_priv }} {{ policy_form.has_priv.label_tag() }}
{{ policy_form.privacy_policy.errors }} {{ policy_form.privacy_policy.label_tag() }} {{ policy_form.privacy_policy }}
{% endblock %}