2019-03-08 02:41:26 +01:00
{% 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"
2023-03-29 12:11:07 +02:00
name="toggle-current-ip">{% if current_ip_debug %}{% trans "Remove current IP" %}{% else %}{% trans "Add current IP" %}{% endif %} - {{ view.current_ip }}< / button >
2019-03-08 02:41:26 +01:00
< / div >
< / form >
{% endblock %}