svg
This commit is contained in:
@ -54,15 +54,15 @@ class IssueController extends AbstractController
|
||||
$form->handleRequest($request);
|
||||
if ($form->isSubmitted() && $form->isValid()) {
|
||||
$em->flush();
|
||||
// return $this->redirectToRoute('app_admin_project');
|
||||
|
||||
return $this->redirectToRoute('app_project_view', ['id' => $issue->getProject()->getId()]);
|
||||
}
|
||||
|
||||
return $this->render('issue/edit.html.twig', [
|
||||
'usemenu' => true,
|
||||
'usesidebar' => true,
|
||||
'usesidebar' => false,
|
||||
'title' => $issue->getRedmine()['subject'],
|
||||
'routecancel' => 'app_admin_project',
|
||||
'routedelete' => 'app_admin_project_delete',
|
||||
'routecancel' => 'app_project_view',
|
||||
'mode' => 'update',
|
||||
'form' => $form,
|
||||
'issue' => $issue,
|
||||
|
@ -19,7 +19,7 @@ Modification Issue = {{title}}
|
||||
|
||||
{{ form_start(form) }}
|
||||
{{ form_widget(form.submit) }}
|
||||
<a href="{{ path(routecancel) }}" class="btn btn-secondary ms-1">Annuler</a>
|
||||
<a href="{{ path(routecancel,{id:issue.project.id}) }}" class="btn btn-secondary ms-1">Annuler</a>
|
||||
|
||||
{% include('include/error.html.twig') %}
|
||||
|
||||
|
Reference in New Issue
Block a user