{% extends "backend/base.html" %}
{% load bootstrap4 %}
{% block content %}
<div class="app-page-title">
    <div class="page-title-wrapper">
        <div class="page-title-heading">
            <div class="page-title-icon">
                <i class="fa fa-database">
                </i>
            </div>
            <div>Database Settings - Edit Setting
                <div class="page-title-subheading">Edit key and value of a setting
                </div>
            </div>
        </div>
        <div class="page-title-actions">
            <button type="button" data-toggle="tooltip" title="New Setting" data-placement="bottom" class="btn-shadow mr-3 btn btn-success">
                <i class="fa fa-plus"></i> New Setting
            </button>

        </div>    
    </div>
</div> 
<div class="row">
    <div class="col-md-12 col-lg-0">
        <div class="mb-3 card">
            <div class="card-header-tab card-header-tab-animation card-header">
                <div class="card-header-title">
                    <i class="header-icon lnr-apartment icon-gradient bg-love-kiss"> </i>
                    Editing {{ form.key.value }}
                </div>
            </div>
            <div class="card-body">
                <div class="tab-content">
                    <div class="tab-pane fade show active" id="tabs-eg-77">
                            <form method="POST">
                                {% csrf_token %}
                                {% bootstrap_form form %}
                                {% buttons %}
                                <button type="button" class="btn-shadow mr-3 btn btn-success">
                                    <i class="fa fa-check"></i> Save
                                </button>
                                <a href="{% url "dbsettings" %}" class="btn-shadow mr-3 btn btn-danger">
                                    <i class="fa fa-times"></i> Cancel
                                </a>
                                {% endbuttons %}
                            </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>



{% endblock %}