Merge pull request #2311 from alphagov/show-postage-class

Add letter class row to settings page, visible to platform admin only
This commit is contained in:
Katie Smith
2018-09-20 09:52:24 +01:00
committed by GitHub
9 changed files with 120 additions and 0 deletions

View File

@@ -684,6 +684,17 @@ class ServiceSwitchLettersForm(StripWhitespaceForm):
)
class ServicePostageForm(StripWhitespaceForm):
postage = RadioField(
'Choose your postage',
choices=[
('first', 'First class only'),
('second', 'Second class only'),
],
)
class BrandingStyle(RadioField):
def post_validate(self, form, validation_stopped):