def __init__(self, *args, **kwargs):
        "Sets custom meta data to the form's fields"
        super(ModelForm, self).__init__(*args, **kwargs)
        self.fields['title'].widget.attrs['class'] = 'barter_item'
        self.fields['title'].error_messages['required'] = _(
            "Barter item cannot be blank")