init
This commit is contained in:
commit
5309e0593b
22 changed files with 722 additions and 0 deletions
blog/templates/entries
10
blog/templates/entries/new.html
Normal file
10
blog/templates/entries/new.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% extends "layout.html" %}
|
||||
{% block body %}
|
||||
<form action="{{ url_for('add_entry') }}" method="post">
|
||||
<label for="title">タイトル</label>
|
||||
<input type="text" id="title" name="title">
|
||||
<label for="text">本文</label>
|
||||
<textarea id="text" name="text" rows="3"></textarea>
|
||||
<button type="submit">作成</button>
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue