{% init op = "view" %} {% init error = "" %} {% if op == "view" %}
{% include note/component/view_header.html %}
{% include note/component/note_path.html %}
{% raw file.data %}
{% else %}
文档编辑器 - {{file.name}}
{% include common/button/back_button.html %}
{% set rows = file.data.count('\n') %}
{{error}}
{% end %}