old_contents: # -*- coding: utf-8 -*-
  
  from baseframe import __
  import baseframe.forms as forms
  
  __all__ = ['PriceForm']
  
  
  class PriceForm(forms.Form):
      start_at = forms.DateTimeField(__("Start date & time"),
          validators=[forms.validators.DataRequired(__("Please specify a start date & time"))])
      end_at = forms.DateTimeField(__("End date & time"),
          validators=[forms.validators.DataRequired(__("Please specify an end date & time")),
          forms.validators.GreaterThan('start_at', __(u"The price can’t end before it starts"))])
      amount = forms.IntegerField(__("Amount"),
          validators=[forms.validators.DataRequired(__("Please specify an price amount"))])
      currency = forms.SelectField(__("Currency"), choices=[('INR', 'INR')], default='INR')
  
new_contents: # -*- coding: utf-8 -*-
  
  from baseframe import __
  import baseframe.forms as forms
  
  __all__ = ['PriceForm']
  
  
  class PriceForm(forms.Form):
      start_at = forms.DateTimeField(__("Start date & time"),
          validators=[forms.validators.DataRequired(__("Please specify a start date & time"))])
      end_at = forms.DateTimeField(__("End date & time"),
          validators=[forms.validators.DataRequired(__("Please specify an end date & time")),
          forms.validators.GreaterThan('start_at', __(u"The price can’t end before it starts"))])
      amount = forms.DecimalField(__("Amount"),
          validators=[forms.validators.InputRequired(__("Please specify an price amount")), forms.validators.NumberRange(min=0)])
      currency = forms.SelectField(__("Currency"), choices=[('INR', 'INR')], default='INR')
  
subject: Update price form to accept decimal & 0.