@@ -1,6 +1,6 @@
{% extends "layout/backend.j2" %}
{% block content %}
-<h1>Title: {{ file.title }}</h1>
+<h1>File: {{ file.title }}</h1>
<a href="{{ url_for('backend_file.edit', file_id=file.id) }}">Edit</a><br>
<a href="/static/uploads/{{ file.path }}">{{ file.path}}</a>
{% if file.is_image() %}
-<h1>Edit: {{ page.title }}</h1>
+<h1>Page edit: {{ page.title }}</h1>
<form method="post">
<div class="form-group">
<label class="text-normal text-dark">title</label>
@@ -33,5 +33,4 @@
<button class="btn btn-primary">Save</button>
</div>
</form>
-<p>{{ page.content() }}</p>
{% endblock %}
-<h1>Title: {{ page.title }}</h1>
+<h1>Page: {{ page.title }}</h1>
<a href="{{ url_for('backend_page.edit', page_id=page.id) }}">Edit</a><br>
<p>{{ page.content() }}</p>