Search bouton loupe si pas de texte

This commit is contained in:
fredtempez 2021-04-05 15:54:19 +02:00
parent 687a98df15
commit 2510a1bc8d
1 changed files with 4 additions and 2 deletions

View File

@ -8,9 +8,11 @@
'value' => $module::$motclef
]); ?>
</div>
<div class="col3 verticalAlignMiddle">
<?php $col = empty($this->getData(['module', $this->getUrl(0), 'config', 'submitText'])) ? 'col1' : 'col3';?>
<div class="<?php echo $col;?> verticalAlignMiddle">
<?php echo template::submit('pageEditSubmit', [
'value' => $this->getData(['module', $this->getUrl(0), 'config', 'submitText'])
'value' => $this->getData(['module', $this->getUrl(0), 'config', 'submitText']),
'ico' => 'search'
]); ?>
</div>
</div>