ZwiiCMS/module/geolocation/view/add/add.php

51 lines
1.3 KiB
PHP
Raw Normal View History

2024-08-09 14:30:58 +02:00
<?php echo template::formOpen('locationAddForm'); ?>
2024-08-09 06:53:43 +02:00
<div class="row">
<div class="col1">
2024-08-09 14:30:58 +02:00
<?php echo template::button('locationAddBack', [
2024-08-09 06:53:43 +02:00
'class' => 'buttonGrey',
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
'value' => template::ico('left')
]); ?>
</div>
<div class="col2 offset9">
2024-08-09 14:30:58 +02:00
<?php echo template::submit('locationAddSubmit'); ?>
2024-08-09 06:53:43 +02:00
</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 14:30:58 +02:00
<?php echo template::text('locationAddName', [
2024-08-09 06:53:43 +02:00
'label' => 'Nom'
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
2024-08-09 14:30:58 +02:00
<?php echo template::text('locationAddLat', [
2024-08-09 06:53:43 +02:00
'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">
2024-08-09 14:30:58 +02:00
<?php echo template::text('locationAddLong', [
2024-08-09 06:53:43 +02:00
'label' => 'Longitude',
'help' => 'Coordonnée décimale'
]); ?>
</div>
</div>
2024-08-09 08:48:14 +02:00
<div class="row">
<div class="col12">
2024-08-09 14:30:58 +02:00
<?php echo template::textarea('locationAddDescription', [
2024-08-09 08:48:14 +02:00
'label' => 'Description',
'class' => 'editorWysiwyg'
]); ?>
</div>
</div>
2024-08-09 06:53:43 +02:00
</div>
</div>
</div>
<?php echo template::formClose(); ?>