Edit template postage from a separate view

This commit is contained in:
Pea Tyczynska
2019-01-29 15:43:59 +00:00
parent 2055a83516
commit db5378bac2
9 changed files with 140 additions and 47 deletions

View File

@@ -471,6 +471,17 @@ class LetterTemplateForm(EmailTemplateForm):
)
class LetterTemplatePostageForm(StripWhitespaceForm):
postage = RadioField(
'Choose the postage for this letter template',
choices=[
('first', 'First class'),
('second', 'Second class'),
],
validators=[DataRequired()]
)
class ForgotPasswordForm(StripWhitespaceForm):
email_address = email_address(gov_user=False)