Commit 84e4621a authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

retrait des ajax et ajout bouton de retour

parent 94526a27
Loading
Loading
Loading
Loading
+2 −2
Changes for module/Application/view/application/substitution/index-structure.phtml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ use Application\Provider\Privilege\SubstitutionPrivileges;
                    <a
                        data-event="edition-substitution"
                        href="<?php echo $this->url('substitution-creer', ['type' => $type], [], true); ?>"
                        class="ajax-modal"
                        class="zajax-modal"
                    >
                        <button class="btn btn-primary">
                            <span class="glyphicon glyphicon-plus"></span>
@@ -78,7 +78,7 @@ use Application\Provider\Privilege\SubstitutionPrivileges;
                                <a
                                    data-event="edition-substitution"
                                    href="<?php echo $this->url('substitution-modifier', ['cible' => $structure->getId()], [], true); ?>"
                                    class="ajax-modal"
                                    class="zajax-modal"
                                >
                                    <span class="glyphicon glyphicon-pencil"></span>
                                </a>
+1
Changes for module/Application/view/application/substitution/modifier.phtml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ echo $messenger->addMessagesFromFlashMessenger();
    <?php echo generateSelect($structuresConcretes, $this); ?>
    <button name="ajouter" class="btn btn-success"> <span class='glyphicon glyphicon-plus'></span> Ajouter </button>
<?php endif; ?>
    <a href="<?php $this->url('substitution-index', [], [], null); ?>" class="btn btn-primary">Retour à l'index des substitution</a>

<form action="<?php echo ($cible->getId())?$this->url('substitution-modifier', ['cible' => $cible->getId()], [],true):$this->url('substitution-creer', ['type' => $type], [],true); ?>" method="POST">
    <input type="hidden" name="type" id="type" value="<?php echo $type; ?>">