1 {% load toolbar_tags %}
2 <div id="source-editor" class="editor">
3 {% if not document_info.readonly %}{% toolbar %}{% endif %}
4 <textarea id="codemirror_placeholder"><br/></textarea>
5 <!-- <input type="hidden" name="name" value="{{ document.name }}" />
6 <input type="hidden" name="author" value="annonymous" />
7 <input type="hidden" name="comment" value="no comment" />
8 <input type="hidden" name="revision" value="{{ document_info.revision }}" />