1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

Cleaned share related code

This commit is contained in:
zhengxie
2012-11-06 11:12:49 +08:00
parent d2d38fd348
commit 73418cc45d
11 changed files with 206 additions and 201 deletions

View File

@@ -40,17 +40,6 @@ class AddUserForm(forms.Form):
raise forms.ValidationError(_("The two password fields didn't match."))
return self.cleaned_data
class FileLinkShareForm(forms.Form):
"""
Form for sharing file shared link to emails.
"""
email = forms.CharField(max_length=512, error_messages={
'required': _("Email is required"),
'max_length': _("Email is not longer than 512 characters"),
})
file_shared_link = forms.CharField()
class FileCommentForm(forms.Form):
"""
Form for leave comments on file.