equal
deleted
inserted
replaced
150 return redirect(task_url) |
150 return redirect(task_url) |
151 else: |
151 else: |
152 return render_to_response('task/create.html',{'user':user, 'form':form}) |
152 return render_to_response('task/create.html',{'user':user, 'form':form}) |
153 else: |
153 else: |
154 form = TaskCreateForm() |
154 form = TaskCreateForm() |
155 return render_to_response('task/create.html',{'form':form}) |
155 return render_to_response('task/create.html',{'user':user, 'form':form}) |
156 else: |
156 else: |
157 return show_msg(user, 'You are not authorised to create a task.') |
157 return show_msg(user, 'You are not authorised to create a task.') |
158 else: |
158 else: |
159 return show_msg(user, 'You are not authorised to create a task.') |
159 return show_msg(user, 'You are not authorised to create a task.') |
160 |
160 |