From e8c7e2a3e42afc4b312b1f7dad90e184759e532a Mon Sep 17 00:00:00 2001 From: farhaanbukhsh Date: Jan 30 2016 17:27:43 +0000 Subject: Fix status selection --- diff --git a/pagure/templates/new_issue.html b/pagure/templates/new_issue.html index 384736d..0fe1288 100644 --- a/pagure/templates/new_issue.html +++ b/pagure/templates/new_issue.html @@ -30,7 +30,6 @@ enctype="multipart/form-data"> {% endif %} {{ render_bootstrap_field(form.title, field_description="the name of your project") }} - {{ render_bootstrap_field(form.status, field_description="bug status") }} {{ render_bootstrap_field(form.private, field_description="the name of your project") }}
diff --git a/pagure/ui/issues.py b/pagure/ui/issues.py index e9ba7aa..9af651d 100644 --- a/pagure/ui/issues.py +++ b/pagure/ui/issues.py @@ -426,9 +426,7 @@ def new_issue(repo, username=None): if not repo.settings.get('issue_tracker', True): flask.abort(404, 'No issue tracker found for this project') - status = pagure.lib.get_issue_statuses(SESSION) - status.remove('Fixed') - form = pagure.forms.IssueForm(status=status) + form = pagure.forms.IssueFormSimplied() if form.validate_on_submit(): title = form.title.data content = form.issue_content.data