{% extends "base.html" %} {% load promgen %} {% block content %} {% if project %} {% breadcrumb project view.button_label %} {% else %} {% breadcrumb service view.button_label %} {% endif %}
{% csrf_token %}
{{form.name.label}} {% include 'promgen/error_block.html' with warning=form.name.errors only %} {{form.name}}
{{form.description.label}} {% include 'promgen/error_block.html' with warning=form.description.errors only %} {{form.description}}
{{form.owner.label}} {% include 'promgen/error_block.html' with warning=form.owner.errors only %} {{form.owner}}
{{form.service.label}} {% include 'promgen/error_block.html' with warning=form.service.errors only %} {{form.service}}
{% include 'promgen/error_block.html' with warning=form.shard.errors only %} {# Only show our warning if modifying an existing project #} {% if project.pk %}
Warning. Moving a project does not move data. Historical data will remain on the previous shard.
{% endif %} {# Color red and collapse by default for existing projects #}
{% include 'promgen/shard_help.inc.html' %} {% for shard in shard_list|dictsort:'name' %} {% if shard.proxy %} {% else %} {% endif %} {% endfor %}
Datasource Samples Exporters
{{shard.name}} {{shard.url|urlize}} Samples: Exporters:    
{% endblock %}