mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-22 16:56:50 +01:00
18 lines
1.2 KiB
PHP
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>
|