Revision bb528b2e snf-astakos-app/astakos/im/views/projects.py

b/snf-astakos-app/astakos/im/views/projects.py
126 126
@commit_on_success_strict()
127 127
def create_app_object(request, extra_context=None):
128 128
    try:
129
        summary = 'im/projects/projectapplication_form_summary.html'
129 130
        return _create_object(
130 131
            request,
131 132
            template_name='im/projects/projectapplication_form.html',
132
            summary_template_name='im/projects/projectapplication_form_summary.html',
133
            summary_template_name=summary,
133 134
            extra_context=extra_context,
134 135
            post_save_redirect=reverse('project_list'),
135 136
            form_class=ProjectApplicationForm,
......
266 267
@commit_on_success_strict()
267 268
def update_app_object(request, object_id, extra_context=None):
268 269
    try:
270
        summary = 'im/projects/projectapplication_form_summary.html'
269 271
        return _update_object(
270 272
            request,
271 273
            object_id=object_id,
272 274
            template_name='im/projects/projectapplication_form.html',
273
            summary_template_name='im/projects/projectapplication_form_summary.html',
275
            summary_template_name=summary,
274 276
            extra_context=extra_context,
275 277
            post_save_redirect=reverse('project_list'),
276 278
            form_class=ProjectApplicationForm,

Also available in: Unified diff