equal
deleted
inserted
replaced
194 # no Sponsor entity exists for this link name, so show a blank form |
194 # no Sponsor entity exists for this link name, so show a blank form |
195 sponsor_form = CreateForm() |
195 sponsor_form = CreateForm() |
196 |
196 |
197 context.update({'form': sponsor_form, |
197 context.update({'form': sponsor_form, |
198 'entity': existing_sponsor, |
198 'entity': existing_sponsor, |
199 'entity_type': 'Sponsor', |
199 'entity_type': sponsor_model.Sponsor.TYPE_NAME, |
200 'entity_type_short': sponsor_model.Sponsor.GROUP_TYPE_SHORT}) |
200 'entity_type_short': sponsor_model.Sponsor.TYPE_NAME_SHORT}) |
201 |
201 |
202 return helper.responses.respond(request, template, context) |
202 return helper.responses.respond(request, template, context) |
203 |
203 |
204 |
204 |
205 DEF_SITE_SPONSOR_PROFILE_CREATE_TMPL = 'soc/group/profile/edit.html' |
205 DEF_SITE_SPONSOR_PROFILE_CREATE_TMPL = 'soc/group/profile/edit.html' |