aboutsummaryrefslogtreecommitdiffstats
path: root/templates/news/add.html
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2012-11-07 01:27:36 +0100
committerThibaut Horel <thibaut.horel@gmail.com>2012-11-07 01:27:36 +0100
commitdf25a48abd69292af55f3356a48a737da829cd20 (patch)
treefdb3ba7d659ee5dd379eb41b284bac6832a2d729 /templates/news/add.html
parente143cf83baf0c50da27251cee4f5e3a8929586a6 (diff)
downloadfamille-flask-df25a48abd69292af55f3356a48a737da829cd20.tar.gz
Add basic news feature: list, show, add
Diffstat (limited to 'templates/news/add.html')
-rw-r--r--templates/news/add.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/news/add.html b/templates/news/add.html
new file mode 100644
index 0000000..c2bc018
--- /dev/null
+++ b/templates/news/add.html
@@ -0,0 +1,9 @@
+{% extends 'layout.html' %}
+
+{% block content %}
+<form action="{{ url_for('add_news')}}" method="post">
+ <input type=text size=80 name=title /><br/>
+ <textarea name=content rows=20 cols=80></textarea>
+<input type="submit" value="Submit" />
+</form>
+{% endblock %}