1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 12:34:17 +00:00

pyi2phosts/postkey/views.py: add i18n for SubdomainVerifyForm

This commit is contained in:
Hidden Z 2011-02-19 15:30:34 +00:00
parent b5a518f560
commit 5a61315d67

View File

@ -56,7 +56,7 @@ class AddForm(forms.ModelForm):
class SubdomainVerifyForm(forms.Form):
"""Form for displaying verification filename and code when verifying a subdomain"""
filename = forms.CharField(widget=forms.TextInput(attrs={
filename = forms.CharField(label=_('Filename'), widget=forms.TextInput(attrs={
'size': '20',
'readonly': 'readonly',
'onclick': 'this.select();',