[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

View File

@ -149,7 +149,13 @@ echo template::formOpen('pageEditForm'); ?>
<h4>Emplacement</h4> <h4>Emplacement</h4>
<div class="row"> <div class="row">
<div class="col6"> <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', [ <?php echo template::hidden('pageEditParentPageId', [
'value' => $this->getData(['page', $this->getUrl(2), 'parentPageId']) 'value' => $this->getData(['page', $this->getUrl(2), 'parentPageId'])
]); ?> ]); ?>
@ -160,12 +166,6 @@ echo template::formOpen('pageEditForm'); ?>
]); ?> ]); ?>
<?php endif; ?> <?php endif; ?>
</div> </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>
<div class="row"> <div class="row">
<div class="col6"> <div class="col6">