This commit is contained in:
Oliver Walters 2020-05-14 21:52:39 +10:00
parent 007d2d4054
commit 0f00205256

View File

@ -7,8 +7,7 @@ from __future__ import unicode_literals
from django import forms from django import forms
from crispy_forms.helper import FormHelper from crispy_forms.helper import FormHelper
from crispy_forms.layout import Field, Layout from crispy_forms.layout import Layout
from crispy_forms.bootstrap import PrependedText
from django.contrib.auth.models import User from django.contrib.auth.models import User
@ -30,7 +29,7 @@ class HelperForm(forms.ModelForm):
""" """
self.helper.layout = Layout(*self.fields.keys()) self.helper.layout = Layout(*self.fields.keys())
class DeleteForm(forms.Form): class DeleteForm(forms.Form):
""" Generic deletion form which provides simple user confirmation """ Generic deletion form which provides simple user confirmation