from petition.forms import BaseSignatureForm
from crispy_forms.layout import Layout
from crispy_forms.bootstrap import PrependedText


class SignatureForm(BaseSignatureForm):
    def __init__(self, *args, **kwargs):
        super(SignatureForm, self).__init__(*args, **kwargs)
        self.helper.layout = Layout(
                'first_name',
                'last_name',
                PrependedText('email', '@'),
                PrependedText('city', '<i class="fa fa-globe"></i>'),
                PrependedText('telephone', '<i class="fa fa-phone"></i>'),
                'giodo',
                'newsletter',
        )

@@ -126,16 +126,88 @@
 dedText%0A
+import swapper%0A%0ASignature = swapper.load_model(%22petition%22, %22Signature%22)%0A
 %0A%0Aclass 
@@ -693,8 +693,51 @@
       )%0A
+%0A    class Meta:%0A        model = Signature%0A

Fix model definition in signature form