27 lines
661 B
HTML
27 lines
661 B
HTML
{% extends "hobo/base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block breadcrumb %}
|
|
{{ block.super }}
|
|
<a href="{% url 'debug-home' %}">{% trans "Debugging" %}</a>
|
|
{% endblock %}
|
|
|
|
{% block appbar %}
|
|
<h2>{% trans 'Debugging' %}</h2>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
|
|
<div class="buttons">
|
|
<button class="submit-button">{% trans "Save" %}</button>
|
|
<button class="submit-button"
|
|
name="toggle-current-ip">{% if current_ip_debug %}{% trans "Remove current IP" %}{% else %}{% trans "Add current IP" %}{% endif %} - {{ view.current_ip }}</button>
|
|
</div>
|
|
</form>
|
|
|
|
{% endblock %}
|