{% extends "layout.html" %}
{% import "form_macros.html" as fm %}
{% block container %}

{% if isp %}
<ul class="nav nav-tabs">
  <li role="presentation"><a href="{{ url_for('.edit_project', projectid=isp.id) }}">{{ _("Manual updates") }}</a></li>
  <li role="presentation" class="active"><a href="#">{{ _("Automatic updates (isp.json)") }}</a></li>
</ul>
{% endif %}
<div class="row">
  <div class="span11 well">
    <form method="post" class="form-horizontal">
      {{ form.csrf_token }}
      <fieldset>
        <legend>{{ page_title }}</legend>
        {{ fm.render_field(form.tech_email) }}
        {{ fm.render_field(form.json_url) }}
        <div class="form-actions">
          <input type="submit" class="btn btn-primary" value="{{ _("Next") }}" />
          <input type="reset" class="btn" value="{{ _("Cancel") }}" />
        </div>
      </fieldset>
    </form>
  </div>
</div>
{%- endblock %}
