launderette_detail.jinja 597 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
3
4
5
6
7
{% extends "core/base.jinja" %}

{% block title %}
{% trans %}Launderette admin{% endtrans %}
{% endblock %}

{% block content %}
8
9
10
11
12
13
14
15
<h3>{% trans %}Machines{% endtrans %}</h3>
<p><a href="{{ url('launderette:machine_new') }}?launderette={{ launderette.id }}">{% trans %}New machine{% endtrans %}</a></p>
<ul>
    {% for m in launderette.machines.all() %}
    <li><a href="{{ url('launderette:machine_edit', machine_id=m.id) }}">{{ m }}</a> -
        <a href="{{ url('launderette:machine_delete', machine_id=m.id) }}">{% trans %}Delete{% endtrans %}</a></li>
    {% endfor %}
</ul>
Skia's avatar
Skia committed
16
17
18
19
20
{% endblock %}