proxadmin/app/uinvoice/forms.py

15 lines
541 B
Python
Raw Normal View History

2017-03-08 13:53:09 -05:00
import string
import random
from ..models import User, Role
from flask_wtf import FlaskForm, RecaptchaField
from wtforms import StringField, PasswordField, BooleanField, SubmitField, SelectField, DecimalField
from wtforms import validators, ValidationError
from wtforms.fields.html5 import EmailField
class PaymentForm(FlaskForm):
plist = [('paypal', 'PayPal'), ('epay', 'ePay.bg'), ('bank', 'Bank Transfer')]
processor = SelectField('Финансов инструмент:', choices=plist)
submit = SubmitField('Плати')