{% extends "combo/cell_form.html" %}
{% load i18n %}
{% block cell-form %}
{{ form.as_p }}
{% with cell.get_maplayer_options as options %}
{% if options %}
{% for option in options %}
{{ option.map_layer.label }} {% if option.map_layer.kind == 'tiles' %}({{ option.map_layer.get_kind_display }}){% endif %}
{% if option.map_layer.kind == 'tiles' %}
{% trans "Edit" %}
{% endif %}
{% trans "Delete" %}
{% endfor %}
{% endif %}
{% endwith %}
{% with cell.get_free_geojson_layers.exists as free_geojson and cell.get_free_tiles_layers.exists as free_tiles %}
{% if free_geojson or free_tiles %}