Source

neorg / neorg / templates / page.html

{% extends "layout.html" %}
{%- block title_root -%}
    Organize your experiments and find out more!
{%- endblock %}
{% block body %}
  {% if page_text is defined -%}
  <form action="{{ url_for('save', page_path=page_path) }}"
        method="post" class="add-entry" id="edit-form">
    <textarea name="page_text" rows="20" cols="80" id="edit-form-textarea">
      {{- page_text -}}
    </textarea>
    <input type="submit" name="save" value="Save" />
    <input type="submit" name="preview" value="Preview" />
    <input type="submit" name="cancel" value="Cancel" />
    <input type="submit" name="delete" value="Delete" />
  </form>
  {%- endif %}
  <div>
    {{ page_html|safe }}
  </div>
{% endblock %}