mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
34 lines
969 B
HTML
34 lines
969 B
HTML
{% extends "layout.html" %}
|
|
{% block title %}
|
|
{{ _('Places') }}
|
|
{% endblock %}
|
|
{% block content %}
|
|
|
|
<h1>{{ _('Places') }}</h1>
|
|
|
|
{% if can_create_place %}
|
|
<div class="my-4">
|
|
<a class="btn btn-primary my-1" href="{{ url_for('place_create') }}" role="button"><i class="fa fa-plus"></i> {{ _('Create place') }}</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="table-responsive">
|
|
<table class="table table-sm table-bordered table-hover table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ _('Name') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for place in places %}
|
|
<tr>
|
|
<td>
|
|
<a href="{{ url_for('place', place_id=place.id) }}">{{ place.name }}</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
{% endblock %} |