[9.2.00.dev] organisation edition page

This commit is contained in:
fredtempez 2019-06-25 22:25:59 +02:00
parent 053586947f
commit 37e7eaf3ad
1 changed files with 7 additions and 7 deletions

View File

@ -149,7 +149,13 @@ echo template::formOpen('pageEditForm'); ?>
<h4>Emplacement</h4>
<div class="row">
<div class="col6">
<?php if($this->getHierarchy($this->getUrl(2), false)): ?>
<?php echo template::select('pageEditPosition', [], [
'label' => 'Position',
'help' => '\'Ne pas afficher\' crée une page orpheline non accessible par le biais des menus.'
]); ?>
</div>
<div class="col6">
<?php if($this->getHierarchy($this->getUrl(2), false)): ?>
<?php echo template::hidden('pageEditParentPageId', [
'value' => $this->getData(['page', $this->getUrl(2), 'parentPageId'])
]); ?>
@ -160,12 +166,6 @@ echo template::formOpen('pageEditForm'); ?>
]); ?>
<?php endif; ?>
</div>
<div class="col6">
<?php echo template::select('pageEditPosition', [], [
'label' => 'Position',
'help' => '\'Ne pas afficher\' crée une page orpheline non accessible par le biais des menus.'
]); ?>
</div>
</div>
<div class="row">
<div class="col6">