import floppyforms as forms
from .models import TestModel



class SendBonusForm(forms.Form):
    bonus_amount = forms.FloatField(min_value=0)
    reason = forms.CharField(widget=forms.Textarea)


class SendMessageForm(forms.Form):
    subject = forms.CharField(max_length=100)
    message_text = forms.CharField(widget=forms.Textarea)


class ApproveAssignmentForm(forms.Form):
    message_text = forms.CharField(widget=forms.Textarea, required=False)


class RejectAssignmentForm(forms.Form):
    message_text = forms.CharField(widget=forms.Textarea, required=False)


from datetimewidget.widgets import DateTimeWidget, DateWidget, TimeWidget

class UpdateExpirationForm(forms.Form):
    expire_time = forms.DateTimeField(widget=DateTimeWidget(usel10n=True, bootstrap_version=3))
