{% extends 'base.html' %} {% load custom_tags_and_filters %} {% block title %}Modify resource{% endblock %} {% block content %} {% if error %}
{{ error }}
{% endif %}

Modify {{ resource }} resource

{% csrf_token %} {% if resource.available %}

{{ resource.name }} is currently available. Enter a status message to mark the resource as unavailable.

When a resource is unavailable:
{% if fully_dependent_tools_in_use %}

Warning: the following tools fully depend on this resource and are in use. You must disable the tools individually to block current use. It is recommended that you disable these tools before making the resource unavailable.

{% endif %} {% else %}

{{ resource.name }} is currently unavailable. What would you like to do?

{% endif %} {% button type="save" value="Modify resource" %}
{% endblock %}