film2.0/templates/search.html

22 lines
512 B
HTML
Raw Normal View History

2024-01-25 01:19:00 +00:00
{% extends 'base.html' %}
{% block title %}{{ path }}{% endblock %}
{% block body %}
<form action="/search" method="GET">
<input type="text" name="q" value="{{ q }}"/>
<input type="submit" value="Buscar" />
</form>
{% if path != "/" %}
<a href="..">&lt;--</a>
<br /><br />
{% endif %}
{% for entry in list %}
<a href="{{ path_join(entry[0], entry[1]) }}"><span class="base_path">{{ entry[0] }}/</span>{{ entry[1] }}</a><br />
{% endfor %}
{% endblock %}