From a86c0db98c3b5f12b0f47532c5136234a5161f5d Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 22 Jul 2018 15:03:12 +0200 Subject: bake : limit action links to defined controller methods --- .../src/Template/Bake/Element/form.twig | 27 ++++++++++++++++++++++ .../src/Template/Bake/Template/index.twig | 13 +++++++++-- .../src/Template/Bake/Template/view.twig | 14 ++++++++++- 3 files changed, 51 insertions(+), 3 deletions(-) (limited to 'fai_gestion/plugins/CustomTheme/src') diff --git a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig index 2ed5249..e48d107 100644 --- a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig +++ b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig @@ -13,6 +13,29 @@ * @license http://www.opensource.org/licenses/mit-license.php MIT License */ #} + + * Copyright 2016 Nicolas Goaziou + * + * This file is part of FAI Gestion forked from CHD Gestion. + * + * FAI Gestion is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FAI Gestion is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with FAI Gestion. If not, see . + * + * Auto-generated code with CakePHP(tm) bake derived code. +**/ +?> {% set fields = Bake.filterFields(fields, schema, modelObject) %}