from django import forms

class TextForm(forms.Form):
	title = forms.CharField(max_length=100, required=False)
	text = forms.CharField(required=True)
	tags = forms.CharField(required=False)

class PhotoForm(forms.Form):
	photo = forms.FileField(required=True)
	caption = forms.CharField(required=False)
	tags = forms.CharField(required=False)

class VideoForm(forms.Form):
	video = forms.FileField(required=True)
	description = forms.CharField(required=False)
	tags = forms.CharField(required=False)

class AudioForm(forms.Form):
	audio = forms.FileField(required=True)
	description = forms.CharField(required=False)
	tags = forms.CharField(required=False)

class QuoteForm(forms.Form):
	quote = forms.CharField(required=True)
	source = forms.CharField(required=False)
	tags = forms.CharField(required=False)

class LinkForm(forms.Form):
	title = forms.CharField(max_length=100, required=False)
	link = forms.URLField(required=True)
	description = forms.CharField(required=False)
	tags = forms.CharField(required=False)

class ChatForm(forms.Form):
	title = forms.CharField(max_length=100, required=False)
	chat = forms.CharField(required=True)
	tags = forms.CharField(required=False)

