{% from 'devhub/includes/macros.html' import some_html_tip %}
{% if form.fields['free'].queryset.count() %} {{ form.do_upsell.errors }} {{ form.do_upsell }}
{{ form.free.errors }}

{{ form.free }}

{% if webapp %} {{ loc("Pitch your premium app, describing the added benefits and functionality over the free version. This will appear on the free app's details page.") }} {% else %} {% trans %} Pitch your premium add-on, describing the added benefits and functionality over the free version. This will appear on the free add-on's details page. {% endtrans %} {% endif %}

{{ form.text.errors }} {{ form.text }} {{ some_html_tip() }}
{% else %}
{% if webapp %} {% trans %} If you have a free app, you can pitch your premium app on that free app. Currently you have no free apps. {% endtrans %} {% else %} {% trans %} If you have a free add-on, you can pitch your premium add-on on that free add-on. Currently you have no free add-ons. {% endtrans %} {% endif %}
{% endif %}