2022-09-13 13:14:49 +00:00
|
|
|
{% extends 'manage/general/master.twig' %}
|
|
|
|
{% from 'macros.twig' import container_title %}
|
|
|
|
{% from '_layout/input.twig' import input_csrf, input_text, input_checkbox, input_file, input_select, input_colour %}
|
|
|
|
|
2023-07-18 21:48:44 +00:00
|
|
|
{% set title = ('Removing setting ' ~ config_value.name) %}
|
2022-09-13 13:14:49 +00:00
|
|
|
|
|
|
|
{% block manage_content %}
|
|
|
|
<div class="container manage-settings">
|
|
|
|
{{ container_title('<i class="fas fa-cogs fa-fw"></i> ' ~ title) }}
|
|
|
|
|
|
|
|
<div class="manage__description">
|
|
|
|
Are you sure you want to delete this setting? It cannot be recovered.
|
|
|
|
</div>
|
|
|
|
|
2023-07-18 21:48:44 +00:00
|
|
|
<form method="post" action="{{ url('manage-general-setting-delete', {'name': config_value.name}) }}" class="manage-setting">
|
2022-09-13 13:14:49 +00:00
|
|
|
{{ input_csrf() }}
|
|
|
|
|
|
|
|
<div class="manage-settings-list-container">
|
|
|
|
<table class="manage-settings-list">
|
|
|
|
<tbody>
|
|
|
|
<tr class="manage-list-setting">
|
|
|
|
<td class="manage-list-setting-key">
|
2023-07-18 21:48:44 +00:00
|
|
|
<div class="manage-list-setting-key-text">{{ config_value.name }}</div>
|
2022-09-13 13:14:49 +00:00
|
|
|
</td>
|
2023-07-18 21:48:44 +00:00
|
|
|
<td class="manage-list-setting-type manage-list-setting-type--{{ config_value.type }}">
|
|
|
|
<div class="manage-list-setting-type-text">{{ config_value.type }}</div>
|
2022-09-13 13:14:49 +00:00
|
|
|
</td>
|
|
|
|
<td class="manage-list-setting-value">
|
2023-07-18 21:48:44 +00:00
|
|
|
<div class="manage-list-setting-value-text">{{ config_value }}</div>
|
2022-09-13 13:14:49 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="manage-setting-actions">
|
|
|
|
<button class="input__button input__button--destroy">Yes</button>
|
|
|
|
<a class="input__button" href="{{ url('manage-general-settings') }}">No</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|