manager: add a title to page add/edit template

This commit is contained in:
Frédéric Péters 2014-12-30 13:28:33 +01:00
parent ef752fecb8
commit 1f5764b0ad
1 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,14 @@
{% extends "combo/manager_base.html" %}
{% load i18n %}
{% block appbar %}
{% if object.id %}
<h2>Edit Page</h2>
{% else %}
<h2>New Page</h2>
{% endif %}
{% endblock %}
{% block content %}
<form method="post" enctype="multipart/form-data">