{% extends "root.html" %}
{% block content %}
<div class="space-y-4">
{% if area %}<a href="/areas/{{ area.id }}" class="btn btn-ghost btn-sm">← {{ area.name }}</a>{% endif %}
<div class="flex items-end justify-between gap-3 flex-wrap">
<h2 class="text-2xl font-bold text-accent">Cuisines{% if area %} in {{ area.name }}{% endif %}</h2>
{% if area %}<a class="link text-sm" href="/cuisines">every area</a>{% endif %}
</div>
{% if cuisines | length == 0 %}
<p class="text-sm opacity-70">No cuisines recorded yet. They come from OSM when you add a place, or type one in.</p>
{% else %}
<ul class="flex flex-wrap gap-2">
{% for c in cuisines %}
<li>
<a class="btn btn-sm btn-outline normal-case" href="/cuisines/{{ c.name | urlencode }}{% if area %}?area={{ area.id }}{% endif %}">
{{ c.name }} <span class="badge badge-sm">{{ c.count }}</span>
</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% if untagged %}
<p class="text-xs opacity-70">{{ untagged }} restaurant{{ "" if untagged == 1 else "s" }} with no cuisine set.</p>
{% endif %}
</div>
{% endblock %}
neiam
/fieri-forever
the flavortown lunch engine
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
1.1 KiB · text
History
6dd7389