{% extends "repo_master.html" %} {% from "_formhelper.html" import render_bootstrap_field %} {% block title %}{% if not type or type == 'new' %}New issue{% elif type and type == 'edit' %}Edit issue #{{ issueid }} {% endif %} - {{ repo.namespace + '/' if repo.namespace }}{{ repo.name }}{% endblock %} {% set tag = "home" %} {% block header %} {% endblock %} {% block repo %}
{% if not type or type == 'new' %} New issue {% elif type and type == 'edit' %} Edit issue #{{ issueid }} {% endif %}
{% if not type or type == 'new' %}
{% elif type and type == 'edit' %} {% endif %} {{ render_bootstrap_field(form.title, field_description="Gist of your issue") }} {% if type == 'edit' %} {{ render_bootstrap_field(form.status, field_description="bug status") }} {% endif %} {% if types %}
Ticket type
{% endif %} {{ render_bootstrap_field(form.private, field_description="Do you want to keep the issue private?") }}
Preview
{% if form.issue_content.errors %} {% for error in form.issue_content.errors %} {{ error }}  {% endfor %} {% endif %}
Attach file

{% if not type or type == 'new' %} {% elif type and type == 'edit' %} {% endif %} {{ form.csrf_token }} Markdown Syntax

{% if authenticated and g.repo_admin and type and type == 'edit' %}
{{ form.csrf_token }}
{% endif %}
{% endblock %} {% block jscripts %} {{ super() }} {% endblock %}