class Meta: model = Article widgets = { 'authors_name': EnclosedInput(append='fa-user'), 'original_perex': RichEditorWidget(formats=()), 'original_annotation': RichEditorWidget(formats=()), 'original_content': RichEditorWidget(formats=()), } fields = '__all__'
class Meta(OrigUserChangeForm.Meta): widgets = { 'last_login': DateTimeInput, 'date_joined': DateTimeInput, 'email': EnclosedInput(append='icon-envelope'), }
class Meta(OrigUserCreationForm.Meta): widgets = { 'email': EnclosedInput(append='icon-envelope'), }
class Meta(OrigUserChangeForm.Meta): widgets = { 'email': EnclosedInput(append='fa-envelope'), }