Merge pull request #3144 from alphagov/choose-postage

Choose postage
This commit is contained in:
David McDonald
2019-11-05 10:14:40 +00:00
committed by GitHub
11 changed files with 66 additions and 30 deletions

View File

@@ -765,6 +765,21 @@ class LetterTemplatePostageForm(StripWhitespaceForm):
)
class LetterUploadPostageForm(StripWhitespaceForm):
postage = RadioField(
'Choose the postage for this letter',
choices=[
('first', 'First class post'),
('second', 'Second class post'),
],
default='second',
validators=[DataRequired()]
)
file_id = HiddenField(
validators=[DataRequired()]
)
class ForgotPasswordForm(StripWhitespaceForm):
email_address = email_address(gov_user=False)