{% extends "base.html" %} {% load i18n %}{% comment %} Rename a gridded run (#289; Rename on the run's provenance line): its name, or empty for the one made from its files. The run's context bar, its name a line above this page's h1. Context from views.rename. {% endcomment %} {% block title %}{% blocktranslate with name=run_name %}Rename: {{ name }}{% endblocktranslate %}{% endblock %} {% block content %}
{% include "gridded/_run_bar.html" %}
{% csrf_token %}

{% translate "Rename the run" %}

{% include "components/form_errors.html" with form=form %} {% include "components/field.html" with field=form.name %}
{% translate "Rename" as rename_label %}{% include "components/button.html" with label=rename_label type="submit" %} {% translate "Cancel" as cancel_label %}{% include "components/button.html" with label=cancel_label href=run.get_absolute_url variant="ghost" %}
{% endblock %}