Librarian in regular requirements.
[redakcja.git] / apps / wiki / templates / wiki / tabs / source_editor.html
index 10ca334..9b22825 100644 (file)
@@ -1,10 +1,5 @@
-{% load toolbar_tags %}
+{% 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">&lt;br/&gt;</textarea>
-    <!-- <input type="hidden" name="name" value="{{ document.name }}" />
-       <input type="hidden" name="author" value="annonymous" />
-       <input type="hidden" name="comment" value="no comment" />
-       <input type="hidden" name="revision" value="{{ document_info.revision }}" />
-       -->
-</div>
\ No newline at end of file
+</div>