old_contents: from flask_wtf import Form
  from wtforms import PasswordField
  from wtforms.validators import DataRequired, Regexp, EqualTo, Length
  
  from dmutils.forms import StripWhitespaceStringField
  
  
  class LoginForm(Form):
      email_address = StripWhitespaceStringField('Email address', validators=[
          DataRequired(message="Email address must be provided"),
          Regexp("^[^@^\s]+@[^@^\.^\s]+(\.[^@^\.^\s]+)+$",
                 message="Please enter a valid email address")
      ])
      password = PasswordField('Password', validators=[
          DataRequired(message="Please enter your password")
      ])
  
  
  class EmailAddressForm(Form):
      email_address = StripWhitespaceStringField('Email address', validators=[
          DataRequired(message="Email address must be provided"),
          Regexp("^[^@^\s]+@[^@^\.^\s]+(\.[^@^\.^\s]+)+$",
                 message="Please enter a valid email address")
      ])
  
  
  class ChangePasswordForm(Form):
      password = PasswordField('Password', validators=[
          DataRequired(message="Please enter a new password"),
          Length(min=10,
                 max=50,
                 message="Passwords must be between 10 and 50 characters"
                 )
      ])
      confirm_password = PasswordField('Confirm password', validators=[
          DataRequired(message="Please confirm your new password"),
          EqualTo('password', message="The passwords you entered do not match")
      ])
  
new_contents: from flask_wtf import Form
  from wtforms.validators import InputRequired
  
  from dmutils.forms import EmailField
  
  
  class EmailAddressForm(Form):
      email_address = EmailField('Email address', validators=[
          InputRequired(message="Email address must be provided")
      ])
  
subject: Remove unused forms