Initial commit: Crumbforest Architecture Refinement v1 (Clean)
This commit is contained in:
16
app/templates/posts/new.html
Normal file
16
app/templates/posts/new.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
<h1>Neuer Post</h1>
|
||||
<form method="post" action="/admin/posts/new">
|
||||
<p><label>Titel <input name="title" required></label></p>
|
||||
<p><label>Slug <input name="slug" required></label></p>
|
||||
<p><label>Locale
|
||||
<select name="locale">
|
||||
<option value="de">de</option>
|
||||
<option value="en">en</option>
|
||||
</select></label></p>
|
||||
<p><label>Publiziert <input type="checkbox" name="is_published" value="1"></label></p>
|
||||
<p><label>Body (Markdown)<br><textarea name="body_md" rows="10" style="width:100%"></textarea></label></p>
|
||||
<p><button type="submit">Speichern</button></p>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user