{% load i18n %}
{% comment %}
Run button for one Script.
Rendered inert rather than hidden when the script cannot run, so an operator sees that running
is unavailable instead of finding no button and wondering where it went.
Context:
- url: The script's run route
- label: The button label
- executable: Whether the script can be run right now
- refusal_reason: The unmet condition, when it cannot
{% endcomment %}
{% if executable %}
{{ label }}
{% else %}
{% comment %}
The title sits on the wrapper: a disabled .btn gets pointer-events:none, so a title on the
button itself never surfaces.
{% endcomment %}
{% endif %}