{% load i18n %}

{% trans "Value" %}{% if value_is_editable %} (JSON){% else %} ({% trans "read-only" %}){% endif %}

{% if not value_is_editable %}
{% trans "Complex object detected." %} {% trans "This value cannot be safely edited because it is not JSON-serializable. It may contain Python objects like datetime, bytes, or custom classes." %}
{% endif %}
{% csrf_token %} {% if string_sha1 %}{% endif %}
{% include "admin/django_cachex/key/key_detail_value_input.html#value-input" with name="value" value=value_display rows=12 field_id="id_value" editable=value_is_editable can_mutate=can_mutate only %} {% if value_is_editable and can_mutate %}
{% endif %}