<reponame>sjbriley/portfolio_olivia<filename>home/forms.py<gh_stars>0
from django import forms

class ContactForm(forms.Form):
	name = forms.CharField(
     						max_length = 150,
           					widget=forms.TextInput(
										attrs={
												'class': 'form-control',
												'type':'text',
												'id': 'Name',
												'name':'Name',
												'placeholder': '<NAME>'
											})
                			)
	email_address = forms.EmailField(
     								max_length = 250,
             						widget=forms.TextInput(
												attrs={
														'class': 'form-control',
														'type':'text',
														'id': 'email',
														'name':'email',
														'placeholder': 'Your Email'
													})
                   					)
	subject = forms.CharField(
     							max_length = 250,
            					widget=forms.TextInput(
											attrs={
													'class': 'form-control',
													'type':'text',
													'id': 'subject',
													'name':'subject',
													'placeholder': 'Subject'
												})
                 			)
	message = forms.CharField(
     							max_length = 2000,
            					widget=forms.Textarea(
                     					attrs={
                              					'class': 'form-control',
                                   				'rows': '5',
                                       			'name':'message',
                                          		'placeholder': 'Message'
                                            })
                 			)
from django import forms

class ContactForm(forms.Form):
	name = forms.CharField(
     						max_length = 150,
           					widget=forms.TextInput(
										attrs={
												'class': 'form-control',
												'type':'text',
												'id': 'Name',
												'name':'Name',
												'placeholder': '<NAME>'
											})
                			)
	email_address = forms.EmailField(
     								max_length = 250,
             						widget=forms.TextInput(
												attrs={
														'class': 'form-control',
														'type':'text',
														'id': 'email',
														'name':'email',
														'placeholder': 'Your Email'
													})
                   					)
	subject = forms.CharField(
     							max_length = 250,
            					widget=forms.TextInput(
											attrs={
													'class': 'form-control',
													'type':'text',
													'id': 'subject',
													'name':'subject',
													'placeholder': 'Subject'
												})
                 			)
	message = forms.CharField(
     							max_length = 2000,
            					widget=forms.Textarea(
                     					attrs={
                              					'class': 'form-control',
                                   				'rows': '5',
                                       			'name':'message',
                                          		'placeholder': 'Message'
                                            })
                 			)