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