Piki is a minimal wiki
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920
  1. {% extends "themes/"|add:settings.page_theme|add:"/base.html" %}
  2. {% load static %}
  3. {% load i18n %}
  4. {% block content %}
  5. <form class="form" method="post">
  6. {% csrf_token %}
  7. {{ form.as_p }}
  8. <input type="submit" name="save" value="{% trans "Save" %}" class="button" />
  9. {% if not disable_preview %}<input type="submit" formaction="#preview" name="preview" value="{% trans "Preview" %}" class="button" />{% endif %}
  10. {{ form_comment.as_p }}
  11. </form>
  12. {% if page_content %}
  13. <div class="preview-spacer" id="preview"></div>
  14. <div class="preview">
  15. {{ page_content|safe }}
  16. </div>
  17. {% endif %}
  18. {% endblock content %}