project_json_form_generic.html 907 B

123456789101112131415161718192021222324252627
  1. {% extends "layout.html" %}
  2. {% import "form_macros.html" as fm %}
  3. {% block container %}
  4. {% if isp %}
  5. <ul class="nav nav-tabs">
  6. <li role="presentation"><a href="{{ url_for('.edit_project', projectid=isp.id) }}">{{ _("Manual updates") }}</a></li>
  7. <li role="presentation" class="active"><a href="#">{{ _("Automatic updates (isp.json)") }}</a></li>
  8. </ul>
  9. {% endif %}
  10. <div class="row">
  11. <div class="span11 well">
  12. <form method="post" class="form-horizontal">
  13. {{ form.csrf_token }}
  14. <fieldset>
  15. <legend>{{ page_title }}</legend>
  16. {{ fm.render_field(form.tech_email) }}
  17. {{ fm.render_field(form.json_url) }}
  18. <div class="form-actions">
  19. <input type="submit" class="btn btn-primary" value="{{ _("Next") }}" />
  20. <input type="reset" class="btn" value="{{ _("Cancel") }}" />
  21. </div>
  22. </fieldset>
  23. </form>
  24. </div>
  25. </div>
  26. {%- endblock %}