Plume/templates/posts/new.html.tera

22 lines
508 B
Plaintext
Raw Normal View History

2018-05-09 19:53:12 +02:00
{% extends "base" %}
2018-04-23 16:25:39 +02:00
2018-05-09 19:53:12 +02:00
{% block title %}
2018-06-17 17:26:15 +02:00
{{ "New post" | _ }}
2018-05-09 19:53:12 +02:00
{% endblock title %}
2018-04-23 16:25:39 +02:00
2018-05-09 19:53:12 +02:00
{% block content %}
2018-06-17 17:26:15 +02:00
<h1>{{ "Create a post" | _ }}</h1>
2018-05-09 19:53:12 +02:00
<form method="post">
2018-06-17 17:26:15 +02:00
<label for="title">{{ "Title" | _ }}</label>
2018-05-09 19:53:12 +02:00
<input name="title">
2018-04-23 16:25:39 +02:00
2018-06-17 17:26:15 +02:00
<label for="content">{{ "Content" | _ }}</label>
2018-05-09 19:53:12 +02:00
<textarea name="content"></textarea>
2018-06-17 17:26:15 +02:00
<label for="license">{{ "License" | _ }}</label>
2018-05-09 19:53:12 +02:00
<input name="license">
2018-06-17 17:26:15 +02:00
<input type="submit" value="{{ "Publish" | _ }}"/>
2018-05-09 19:53:12 +02:00
</form>
{% endblock content %}