detritus
This commit is contained in:
parent
888f27afb3
commit
d4374b60e4
34
mmg/forms.py
34
mmg/forms.py
@ -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,
|
||||
}))
|
Loading…
Reference in New Issue
Block a user