2
xmlns="http://www.w3.org/1999/xhtml"
3
xmlns:tal="http://xml.zope.org/namespaces/tal"
4
xmlns:metal="http://xml.zope.org/namespaces/metal"
5
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
6
i18n:domain="pybookbuilder"
7
metal:use-macro="macro">
9
<title metal:fill-slot="pagetitle"> pyBookBuilder - ${book.title} </title>
10
<metal:block fill-slot="scripts">
11
<script type="text/javascript">
12
var ajax_save_url = "${ajax_save_url}";
14
<script type="text/javascript" src="/static/chapter_save.js"></script>
18
<h1 metal:fill-slot="title"> pyBookBuilder - ${book.title} </h1>
19
<h2 metal:fill-slot="subtitle" class="left">
20
<span i18n:translate="">Editing Chapter</span>
22
${context.title} </h2>
24
<metal:block fill-slot="content">
25
<textarea id="editarea">${context.data}</textarea>
28
<metal:block fill-slot="topright-actions">
29
<a class="action left"
30
href="javascript:save_chapter()"> Save </a>
31
<a class="action left"
35
<metal:block fill-slot="bottomright-actions">
36
<a class="action left"
37
href="#"> Change Title </a>
38
<a class="action left"
39
href="#"> Delete Chapter </a>
40
<a class="action left"
41
href="javascript:save_chapter()"> Save </a>
42
<a class="action left"
46
<metal:block fill-slot="bottomleft-actions">
47
<a class="action left"
48
href="${book_url}"> Back to Book </a>