This commit is contained in:
Stephen McQuay 2013-04-24 00:47:47 -07:00
parent 888f27afb3
commit d4374b60e4

View File

@ -1,34 +0,0 @@
from django import forms
class NumberForm(forms.Form):
first = forms.IntegerField(
widget=forms.TextInput(
attrs={
'class': 'number',
'size': 2,
'readonly': True,
'hidden': True,
}))
operation = forms.CharField(
widget=forms.TextInput(
attrs={
'class': 'number',
'size': 2,
'readonly': True,
'hidden': True,
}))
second = forms.IntegerField(
widget=forms.TextInput(
attrs={
'class': 'number',
'size': 2,
'readonly': True,
'hidden': True,
}))
answer = forms.IntegerField(
widget=forms.TextInput(
attrs={
'type': 'tel',
'class': 'number',
'size': 2,
}))