ZwiiCMS/module/geoevent/view/add/add.php

47 lines
1.2 KiB
PHP
Raw Normal View History

2024-08-09 06:53:43 +02:00
<?php echo template::formOpen('eventAddForm'); ?>
<div class="row">
<div class="col1">
<?php echo template::button('eventAddBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
'value' => template::ico('left')
]); ?>
</div>
<div class="col2 offset9">
<?php echo template::submit('eventAddSubmit'); ?>
</div>
</div>
<div class="row">
<div class="col12">
<div class="block">
<h4><?php echo helper::translate('Paramètres'); ?></h4>
<div class="row">
<div class="col6">
<?php echo template::text('eventAddName', [
'label' => 'Nom'
]); ?>
</div>
<div class="col6">
<?php echo template::textarea('eventAddDescription', [
'label' => 'Description'
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
<?php echo template::text('eventAddLat', [
'label' => 'Latitude',
'help' => 'Coordonnée décimale'
]); ?>
</div>
<div class="col6">
<?php echo template::text('eventAddLong', [
'label' => 'Longitude',
'help' => 'Coordonnée décimale'
]); ?>
</div>
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>