Skip to content

Commit

Permalink
Merge origin into fork
Browse files Browse the repository at this point in the history
  • Loading branch information
Asterisk007 committed May 8, 2020
2 parents 3cca389 + 9dc5889 commit 4eea9cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 8 additions & 2 deletions myapp/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ class IssueForm(forms.Form):

issue_type = forms.CharField(
label='Issue Type',
widget=forms.Select(choices=ISSUE_CHOICES),
widget=forms.Select(
choices=ISSUE_CHOICES,
attrs={'class': 'form-control'}
),
required=True
)

Expand Down Expand Up @@ -345,7 +348,10 @@ class EditIssueForm(forms.Form):

issue_type = forms.CharField(
label='Issue Type',
widget=forms.Select(choices=ISSUE_CHOICES),
widget=forms.Select(
choices=ISSUE_CHOICES,
attrs={'class': 'form-control'}
),
required=True
)

Expand Down
5 changes: 5 additions & 0 deletions myapp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,5 +347,10 @@ def edit_ticket(request, id):
}
return render(request, "editticket.html", context=context)
else:
<<<<<<< HEAD
return redirect("/viewmyissues")

=======
return redirect("/viewmysubmittedissues.html")

>>>>>>> 9dc5889060e9532d6f7df1dda408225c4a5bed8e

0 comments on commit 4eea9cd

Please sign in to comment.