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

51 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">
2024-08-09 08:48:14 +02:00
<div class="col12">
2024-08-09 06:53:43 +02:00
<?php echo template::text('eventAddName', [
'label' => 'Nom'
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
<?php echo template::text('eventAddLat', [
'label' => 'Latitude',
'help' => 'Coordonnée décimale'
2024-08-09 08:48:14 +02:00
2024-08-09 06:53:43 +02:00
]); ?>
</div>
<div class="col6">
<?php echo template::text('eventAddLong', [
'label' => 'Longitude',
'help' => 'Coordonnée décimale'
]); ?>
</div>
</div>
2024-08-09 08:48:14 +02:00
<div class="row">
<div class="col12">
<?php echo template::textarea('eventAddDescription', [
'label' => 'Description',
'class' => 'editorWysiwyg'
]); ?>
</div>
</div>
2024-08-09 06:53:43 +02:00
</div>
</div>
</div>
<?php echo template::formClose(); ?>