{% extends "assets/base_assets_index.html" %} {% load static i18n %} {% block locations_filter_form %}
{% endblock locations_filter_form %} {% block location_row_actions %} {% if can_create_location %} {% endif %} {% endblock location_row_actions %} {% block assets_filter_form %} {% endblock assets_filter_form %} {% block asset_row_actions %} {% if can_create_asset and not preventive_draft_id %} {% endif %} {% endblock asset_row_actions %} {% block const_script %} {% endblock const_script %} {% block extra_script %} {% if can_create_location %} {% include "assets/components/location_edit_modals.html" with thematic_code=thematic_code location_type=location_type entry_label="Zone GIEP" %} {% endif %} {% if can_create_asset %} {% include "assets/components/add_asset_modal.html" with modal_id="addWaterAssetModal" thematic_code="water" categories=water_categories %} {% endif %} {% endblock extra_script %}