formwork/panel/views/modals/renameFile.php
Giuseppe Criscione a18df4a0f8 Format php files
2024-04-27 13:06:15 +02:00

18 lines
1.2 KiB
PHP

<div id="renameFileModal" class="modal" aria-labelledby="renameFileModalLabel">
<div class="modal-container">
<form action="" method="post">
<div class="modal-header">
<div class="caption" id="renameFileModalLabel"><?= $this->translate('panel.pages.renameFile') ?></div>
</div>
<div class="modal-content">
<label class="form-label form-label-required" for="filename"><?= $this->translate('panel.pages.renameFile.name') ?>:</label>
<input class="form-input" id="file-name" type="text" required name="filename" autofocus>
<input type="hidden" name="csrf-token" value="<?= $csrfToken ?>">
</div>
<div class="modal-footer">
<button type="button" class="button button-secondary" data-dismiss="renameFileModal"><?= $this->icon('times-circle') ?> <?= $this->translate('panel.modal.action.cancel') ?></button>
<button type="submit" class="button button-accent button-right" data-command="delete"><?= $this->icon('pencil') ?> <?= $this->translate('panel.modal.action.rename') ?></button>
</div>
</form>
</div>
</div>