{% extends "pages/base.html" %}
{% set title = "New " + type %}
{% set has_no_parents = parent_type is not none and parents|length <= 0 %}
{% block main_content %}
{{ super() -}}
{% if has_no_parents %}
Your campaign currently has no {{ parent_type }}s.
You must first create a {{ parent_type }} to add a {{ type }} to it.