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

{% block title %}
{% trans %}SAS{% endtrans %}
{% endblock %}

{% block content %}
<h3>{% trans %}SAS{% endtrans %}</h3>
Skia's avatar
Skia committed
9
10
11
12
13
<form action="" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    {{ form.as_p() }}
    <p><input type="submit" value="{% trans %}Create{% endtrans %}" /></p>
</form>
Skia's avatar
Skia committed
14
15
16
17
18
19
20
21
<div>
    {% for a in root_file.children.filter(is_folder=True).all() %}
    <div style="display: inline-block; border: solid 1px black;">
        <a href="{{ url("sas:album", album_id=a.id) }}">{{ a.name }}</a>
    </div>
    {% endfor %}
</div>
{% endblock %}