{% extends "base.html" %}

{% block page_title %}All Locations{% endblock %}

{% block content %}

{% include 'snippets/location_description.html' %}

{% if locations %}
  {% include "snippets/locations_table.html" %}
{% else %}
  <p>No locations currently exist.  Please create one from the <a href="{% url 'space_list' %}">spaces</a> page.</p>
{% endif %}

{% endblock %}
