Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/templates/atoideweb/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/atoideweb/post.html')
-rw-r--r--templates/atoideweb/post.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/atoideweb/post.html b/templates/atoideweb/post.html
new file mode 100644
index 0000000..79bb3e2
--- /dev/null
+++ b/templates/atoideweb/post.html
@@ -0,0 +1,24 @@
+{% extends "layout.html" %}
+
+{% block content %}
+<h1>{{ title }}</h1>
+
+<div class='post-sample' class='form'>
+ <h3>{{ _('post-sample') }}</h3>
+ <form method="post" action="/post" name="post-sample">
+ <input type="radio" value="option-1" name="post-sample">option 1<br>
+ <input type="radio" value="option-2" name="post-sample">option 2<br>
+ <input type="submit" value="submit" ></input>
+ </form>
+<div>
+
+<!-- HELPER WAY
+{ options(_, 'post-sample', ['option 1', 'option 2'], result, '/post') }
+-->
+
+<div id='post-result' class='result'>
+ <h3>{{ _('post-result') }}</h3>
+ => {{ result }}
+</div>
+
+{% endblock %}