From b0ebc7c0a439f54bbf080cb70c057424cc356ba0 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Wed, 19 Aug 2020 11:30:56 +0200 Subject: [PATCH] mv imageForm --- apps/note/forms.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/apps/note/forms.py b/apps/note/forms.py index fe81783e..2c468706 100644 --- a/apps/note/forms.py +++ b/apps/note/forms.py @@ -10,15 +10,6 @@ from note_kfet.inputs import Autocomplete, AmountInput, DateTimePickerInput from .models import TransactionTemplate, NoteClub, Alias -class ImageForm(forms.Form): - image = forms.ImageField(required=False, - label=_('select an image'), - help_text=_('Maximal size: 2MB')) - x = forms.FloatField(widget=forms.HiddenInput()) - y = forms.FloatField(widget=forms.HiddenInput()) - width = forms.FloatField(widget=forms.HiddenInput()) - height = forms.FloatField(widget=forms.HiddenInput()) - class TransactionTemplateForm(forms.ModelForm): class Meta: