Skip to content

Commit f0d37c0

Browse files
committed
Add confirmation message when deleting the variable
1 parent 8a002b9 commit f0d37c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

readthedocs/templates/projects/environmentvariable_detail.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
{% block project_edit_content %}
1919
<form method="post" action="{% url 'projects_environmentvariables_delete' project_slug=project.slug environmentvariable_pk=environmentvariable.pk %}">
2020
{% csrf_token %}
21+
<p>
22+
{% blocktrans trimmed %}
23+
Are you sure you want to delete the environment variable</b>?
24+
{% endblocktrans %}
25+
</p>
2126
<input type="submit" value="{% trans "Delete" %}">
2227
</form>
2328
{% endblock %}

0 commit comments

Comments
 (0)