From 441f549281adccc66cbb1d130b8f9ec8e064e0ce Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Dec 24 2015 09:22:01 +0000 Subject: more changes to the new issue page --- diff --git a/pagure/templates/_formhelper.html b/pagure/templates/_formhelper.html index 864e826..5ca9151 100644 --- a/pagure/templates/_formhelper.html +++ b/pagure/templates/_formhelper.html @@ -23,10 +23,10 @@ {% else %} - {{ field.label }} + {{ field.label }} {{ field(class_=formclasses)|safe }}
{% if field_description %} diff --git a/pagure/templates/new_issue.html b/pagure/templates/new_issue.html index 8863886..1b1ff04 100644 --- a/pagure/templates/new_issue.html +++ b/pagure/templates/new_issue.html @@ -1,9 +1,6 @@ {% extends "repo_master.html" %} {% from "_formhelper.html" import render_bootstrap_field %} -{% block header%} - - -{% endblock%} + {% block title %}{% if not type or type == 'new' %}New issue{% elif type and type == 'edit' %}Edit issue #{{ issueid }} {% endif %} - {{ repo.name }}{% endblock %} @@ -36,13 +33,14 @@ {{ render_bootstrap_field(form.status, field_description="bug statuss") }} {{ render_bootstrap_field(form.private, field_description="the name of your project") }}
- -
-   + {% if form.issue_content.errors %} @@ -53,21 +51,19 @@ {% endif %}
+
+
- - Attach file -

- (supports the Markdown syntax) -

+ Attach file +

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

@@ -80,23 +76,19 @@ {% block jscripts %} {{ super() }} -