fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
working prototype without mercurial repo
[redakcja.git]
/
apps
/
wiki
/
templates
/
wiki
/
tabs
/
source_editor.html
diff --git
a/apps/wiki/templates/wiki/tabs/source_editor.html
b/apps/wiki/templates/wiki/tabs/source_editor.html
index
72d881c
..
9c3558f
100644
(file)
--- a/
apps/wiki/templates/wiki/tabs/source_editor.html
+++ b/
apps/wiki/templates/wiki/tabs/source_editor.html
@@
-1,10
+1,10
@@
{% load toolbar_tags i18n %}
<div id="source-editor" class="editor">
{% load toolbar_tags i18n %}
<div id="source-editor" class="editor">
- {% if not
document_info.
readonly %}{% toolbar %}{% endif %}
+ {% if not readonly %}{% toolbar %}{% endif %}
<textarea id="codemirror_placeholder"><br/></textarea>
<textarea id="codemirror_placeholder"><br/></textarea>
- <!-- <input type="hidden" name="name" value="{{
document.name
}}" />
+ <!-- <input type="hidden" name="name" value="{{
book.slug
}}" />
<input type="hidden" name="author" value="annonymous" />
<input type="hidden" name="comment" value="no comment" />
<input type="hidden" name="author" value="annonymous" />
<input type="hidden" name="comment" value="no comment" />
- <input type="hidden" name="revision" value="{{
document_info
.revision }}" />
+ <input type="hidden" name="revision" value="{{
book.doc
.revision }}" />
-->
-->
-</div>
\ No newline at end of file
+</div>