{% for val, lbl in form.fields.state.choices %}{% if val == 'private' %}
{% endif %}{% endfor %}
{% for val, lbl in form.fields.state.choices %}{% if val == 'unlisted' %}
{% endif %}{% endfor %}
{% if form.fields.shared %}
{% endif %}
{% for val, lbl in form.fields.state.choices %}{% if val == 'public' %}
{% endif %}{% endfor %}
To publish an external link to the media, click Publish Media below to view the media, right-click the viewing window, next copy URL or embed code, and add this to your external portal or client.
{% if form.state.errors %}
{% for error in form.state.errors %}
{{ error }}
{% endfor %}
{% endif %}
{% if form.fields.shared %}
To share media with someone, go to My Media > select media > Bulk Actions > Share with…
{% endif %}
{% if form.fields.shared %}{% if form.was_shared %}