<filename>democracy/issue/forms.py
from django import forms
from django.forms import ChoiceField
from django.utils.translation import ugettext as _
from issue.models import Issue, source_types
from voting.vote_types import votes
from tagging.forms import TagField

class IssueForm(forms.Form):
    title = forms.CharField(label=_('your issue title'), 
        widget = forms.Textarea(attrs={'id':'title'}),
        max_length = 200,
    )
    body = forms.CharField( label=_('arguments'),
        widget = forms.Textarea(attrs={'id': 'arguments'}),
        max_length = 2000,
    )
    url = forms.URLField(label= _('external source of information'),
        widget = forms.TextInput(attrs={'size':'80'}),
    )
    source_type = forms.ChoiceField(label=_("source type"), 
        choices = source_types,
    )
    options = [(1, votes[1]), (-1, votes[-1]),]
    direction = forms.TypedChoiceField(label=_("your vote"), choices=options,coerce=int )

#    is_draft = forms.BooleanField(label=_("publish"), initial=True, required=False)
    tags = TagField(label=_("tags"), required=True,
        widget = forms.TextInput(attrs={'size':'80'})
     )

class Publish(forms.Form):
    is_draft = forms.TypedChoiceField(choices= ((0 , "NO"), (1, "YES")), coerce=int) 


class TagForm(forms.Form):
    tags = TagField(label=_("tags"), required=True)

<filename>democracy/issue/forms.py
from django import forms
from django.forms import ChoiceField
from django.utils.translation import ugettext as _
from issue.models import Issue, source_types
from voting.vote_types import votes
from tagging.forms import TagField

class IssueForm(forms.Form):
    title = forms.CharField(label=_('your issue title'), 
        widget = forms.Textarea(attrs={'id':'title'}),
        max_length = 200,
    )
    body = forms.CharField( label=_('arguments'),
        widget = forms.Textarea(attrs={'id': 'arguments'}),
        max_length = 2000,
    )
    url = forms.URLField(label= _('external source of information'),
        widget = forms.TextInput(attrs={'size':'80'}),
    )
    source_type = forms.ChoiceField(label=_("source type"), 
        choices = source_types,
    )
    options = [(1, votes[1]), (-1, votes[-1]),]
    direction = forms.TypedChoiceField(label=_("your vote"), choices=options,coerce=int )

#    is_draft = forms.BooleanField(label=_("publish"), initial=True, required=False)
    tags = TagField(label=_("tags"), required=True,
        widget = forms.TextInput(attrs={'size':'80'})
     )

class Publish(forms.Form):
    is_draft = forms.TypedChoiceField(choices= ((0 , "NO"), (1, "YES")), coerce=int) 


class TagForm(forms.Form):
    tags = TagField(label=_("tags"), required=True)

#    is_draft = forms.BooleanField(label=_("publish"), initial=True, required=False)