accountant/forms/accounts.py
2015-06-05 18:37:17 +02:00

10 lines
241 B
Python

from flask_wtf import Form
from wtforms import DecimalField, IntegerField, StringField
class AccountIdForm(Form):
id = IntegerField()
class AccountForm(AccountIdForm):
name = StringField()
authorized_overdraft = DecimalField()