mirror of
https://github.com/ae-utbm/sith.git
synced 2025-08-17 14:39:57 +00:00
Add nice whole file support
This commit is contained in:
13
core/templates/core/file_edit.jinja
Normal file
13
core/templates/core/file_edit.jinja
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends "core/file.jinja" %}
|
||||
|
||||
{% block file %}
|
||||
<h2>{% trans obj=object %}Edit {{ obj }}{% endtrans %}</h2>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p() }}
|
||||
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user