mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
* Clean up & comment base templates * Clean up login template & form * Use SVG file for NetBox logo * Simplify breadcrumbs * Merge changelog.html into home.html * Rename title_container block to header * Move breadcrumbs block to object.html * Attach names to endblock template tags * Reorganize root-level templates into base/ and inc/ * Remove obsolete reference to Bootstrap 3.4.1
26 lines
980 B
HTML
26 lines
980 B
HTML
{% extends 'base/layout.html' %}
|
|
{% load form_helpers %}
|
|
|
|
{% block content %}
|
|
<div class="row mt-5">
|
|
<div class="col col-md-6 offset-md-3">
|
|
<form action="" method="post" class="form">
|
|
{% csrf_token %}
|
|
{% for field in form.hidden_fields %}
|
|
{{ field }}
|
|
{% endfor %}
|
|
<div class="card bg-{{ panel_class|default:"danger" }}">
|
|
<h5 class="card-header">{% block confirmation_title %}{% endblock %}</h5>
|
|
<div class="card-body">
|
|
{% block message %}<p>Are you sure?</p>{% endblock %}
|
|
</div>
|
|
<div class="card-footer text-end">
|
|
<a href="{{ return_url }}" class="btn btn-outline-gray-900">Cancel</a>
|
|
<button type="submit" name="_confirm" class="btn btn-{{ button_class|default:"gray-900" }}">Confirm</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|