mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-09-25 01:53:03 +02:00
feat: allow exporting an empty CSV template for imports
This commit is contained in:
@@ -49,7 +49,12 @@ if (!class_exists('ExportController')) {
|
||||
<input type="hidden" name="csrf_token" value="<?= htmlspecialchars($_SESSION['csrf_token']) ?>">
|
||||
|
||||
<div>
|
||||
<label for="csv_file">Fichier CSV</label>
|
||||
<div class="admin-file-label-row">
|
||||
<label for="csv_file">Fichier CSV</label>
|
||||
<a href="/admin/actions/export.php?template=1" download class="btn btn--secondary btn--sm">
|
||||
⤓ Télécharger un modèle CSV vide
|
||||
</a>
|
||||
</div>
|
||||
<div class="admin-file-input">
|
||||
<input type="file" id="csv_file"
|
||||
name="csv_file"
|
||||
|
||||
Reference in New Issue
Block a user