Merge master
This commit is contained in:
parent
7a90458a3c
commit
d5a39fe7eb
|
@ -33,7 +33,7 @@ class form extends common {
|
|||
|
||||
public static $pagination;
|
||||
|
||||
const FORM_VERSION = '1.9';
|
||||
const FORM_VERSION = '2.0';
|
||||
|
||||
const TYPE_MAIL = 'mail';
|
||||
const TYPE_SELECT = 'select';
|
||||
|
@ -89,6 +89,8 @@ class form extends common {
|
|||
'subject' => $this->getInput('formConfigSubject')
|
||||
]
|
||||
]);
|
||||
// Génération des données vides
|
||||
$this->setData(['module', $this->getUrl(0), 'data', []]);
|
||||
// Génération des champs
|
||||
$inputs = [];
|
||||
foreach($this->getInput('formConfigPosition', null) as $index => $position) {
|
||||
|
@ -383,4 +385,4 @@ class form extends common {
|
|||
'view' => 'index',
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue