leilukin-tumbleblog/admin/pages/write_page.twig

13 lines
441 B
Twig
Raw Normal View History

2024-06-20 14:10:42 +00:00
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block title %}{{ "Add Page" | translate }}{% endblock %}
{% block content %}
<form id="write_form" action="{{ url('add_page') }}" method="post" accept-charset="UTF-8" enctype="multipart/form-data">
<fieldset role="presentation">
{% include "partials" ~ DIR ~ "page_fields.twig" %}
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
</fieldset>
</form>
{% endblock %}