mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-07 07:16:53 -06:00
file upload form edit
This commit is contained in:
@@ -27,5 +27,7 @@ class RegistrationForm(FlaskForm):
|
||||
raise ValidationError('That email address is not available.')
|
||||
|
||||
class ProfileSettingsForm(FlaskForm):
|
||||
show_email = RadioField('Show Email', choices=[('p', 'Public'), ('r', 'Registered Users Only'), ('h', 'Hidden')])
|
||||
submit = SubmitField('Save Profile Settings')
|
||||
show_email = RadioField('Show Email', default='registered', choices=[('public', 'Public'), ('registered', 'Registered Users Only'), ('hidden', 'Hidden')])
|
||||
profile_picture_file = FileField('Upload Profile Picture')
|
||||
submit = SubmitField('Save Profile Settings')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user