{% extends "base/frame.twig" %}
{% block stylesheets %}
{% endblock %}
{% block main %}
Location Listing
{% if options.notice is defined %}
{{ options.notice }}
{% endif %}
{% if options.mode == "add" %}
Add New Location
{{ include("forms/add-location.twig") }}
{% elseif options.mode =='bulk-add' %}
Add Multiple Locations
{{ include("forms/bulk-add-location.twig") }}
{% elseif options.mode == "edit" %}
Editing
{{ options.location.name }}
{% for image in options.location.images %}
{% endfor %}
{{ include("forms/edit-location.twig") }}
{% else %}
Take care. These are bad places.
Add Location
|
Add Multiple Locations
Bad Spaces
{% for location in options.list.locations %}
ID:{{ location.id }}
{{ location.name }}
{% endfor %}
{% endif %}
{% endblock %}