From 82d3191bdf8faa9e287b0b632bee150e90cbd264 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 12 2015 08:27:33 +0000 Subject: Drop duplicated fields already retrieved by inheritance --- diff --git a/pagure/forms.py b/pagure/forms.py index 9122529..6125451 100644 --- a/pagure/forms.py +++ b/pagure/forms.py @@ -55,23 +55,11 @@ class IssueFormSimplied(wtf.Form): class IssueForm(IssueFormSimplied): ''' Form to create or edit an issue. ''' - title = wtforms.TextField( - 'Title*', - [wtforms.validators.Required()] - ) - issue_content = wtforms.TextAreaField( - 'Content*', - [wtforms.validators.Required()] - ) status = wtforms.SelectField( 'Status', [wtforms.validators.Required()], choices=[(item, item) for item in []] ) - private = wtforms.BooleanField( - 'Private', - [wtforms.validators.optional()], - ) def __init__(self, *args, **kwargs): """ Calls the default constructor with the normal argument but