@@ -148,3 +148,47 @@ class OrganizationMentor(forms.Form):
148148 choices = [('GSoC' , 'Google Summer of Code' ), ('GCI' , 'Google Code-In' )],
149149 label = 'Mentoring Program'
150150 )
151+
152+
153+ class GSOCStudent (forms .Form ):
154+ user = forms .CharField (
155+ max_length = 50 , label = 'GitHub Username' ,
156+ widget = forms .TextInput (attrs = {'autocomplete' : 'off' })
157+ )
158+ year = forms .IntegerField (
159+ label = 'Participation year' ,
160+ widget = forms .NumberInput (attrs = {'autocomplete' : 'off' })
161+ )
162+ project_topic = forms .CharField (
163+ max_length = 300 , label = 'GSoC Project Topic' ,
164+ help_text = 'Should be same as on GSoC Website!' ,
165+ widget = forms .TextInput (attrs = {'autocomplete' : 'off' })
166+ )
167+ project_desc = forms .CharField (
168+ max_length = 2000 , label = 'Project Description' ,
169+ widget = forms .Textarea (attrs = {'autocomplete' : 'off' })
170+ )
171+ accepted_proposal = forms .URLField (
172+ label = 'Accepted Proposal URL' ,
173+ help_text = 'The proposal you submitted during GSoC Program!' ,
174+ widget = forms .URLInput (attrs = {'autocomplete' : 'off' })
175+ )
176+ cEP = forms .URLField (
177+ label = 'Org Enhancement Proposal Merge Request' , required = False ,
178+ help_text = 'For example, in {org} we have cEP({org} Enhancement '
179+ 'Proposal)' .format (org = 'coala' ), # Ignore KeywordBear
180+ widget = forms .URLInput (attrs = {'autocomplete' : 'off' })
181+ )
182+ project_url = forms .URLField (
183+ label = 'GSoC Project URL' ,
184+ widget = forms .URLInput (attrs = {'autocomplete' : 'off' })
185+ )
186+ mentors = forms .CharField (
187+ max_length = 200 , label = 'Project Mentors' ,
188+ help_text = 'Separate name of mentor by comma(,)' ,
189+ widget = forms .TextInput (attrs = {'autocomplete' : 'off' })
190+ )
191+ image = forms .URLField (
192+ label = 'Personal Image URL' , required = False ,
193+ widget = forms .URLInput (attrs = {'autocomplete' : 'off' })
194+ )
0 commit comments