|
|
@@ -1,45 +0,0 @@
|
|
|
-<div class="modal" id="putBackPage">
|
|
|
- <div class="modal-dialog">
|
|
|
- <div class="modal-content">
|
|
|
-
|
|
|
- <form role="form" id="revert-delete-page-form" onsubmit="return false;">
|
|
|
-
|
|
|
- <div class="modal-header bg-info text-light">
|
|
|
- <div class="modal-title"><i class="icon-action-undo"></i> {{ t('modal_putback.label.Put Back Page') }}</div>
|
|
|
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
- </div>
|
|
|
- <div class="modal-body">
|
|
|
- <div class="form-group">
|
|
|
- <label for="">Put back page:</label><br>
|
|
|
- <code>{{ page.path }}</code>
|
|
|
- </div>
|
|
|
- <div class="custom-control custom-checkbox custom-checkbox-warning">
|
|
|
- <input class="custom-control-input" name="recursively" id="cbPutbackRecursively" value="1" type="checkbox" checked>
|
|
|
- <label class="custom-control-label" for="cbPutbackRecursively">
|
|
|
- {{ t('modal_putback.label.recursively') }}
|
|
|
- <p class="form-text text-muted mt-0">{{ t('modal_putback.help.recursively', page.path) }}</p>
|
|
|
- </label>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="modal-footer">
|
|
|
- <div class="d-flex justify-content-between">
|
|
|
- {% include '../widget/modal/page-api-error-messages.html' %}
|
|
|
- <div>
|
|
|
- <input type="hidden" name="_csrf" value="{{ csrf() }}">
|
|
|
- <input type="hidden" name="path" value="{{ page.path }}">
|
|
|
- <input type="hidden" name="page_id" value="{{ page._id.toString() }}">
|
|
|
- <button type="submit" class="btn btn-sm btn-info putBack-button">
|
|
|
- <i class="icon-action-undo" aria-hidden="true"></i>
|
|
|
- {{ t('Put Back') }}
|
|
|
- </button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <!-- /.modal-content -->
|
|
|
- </div>
|
|
|
- <!-- /.mod<div class="modal" id="deletePage">al-dialog -->
|
|
|
-</div>
|
|
|
-<!-- /.modal -->
|