platform/packages/jael/angel_jael/example/views/index.jael
Tobe O edfd785dfe Add 'packages/jael/' from commit 'af168281d94cda98a8fd333618696e92f4e035c5'
git-subtree-dir: packages/jael
git-subtree-mainline: 834de0300f
git-subtree-split: af168281d9
2020-02-15 18:22:11 -05:00

15 lines
No EOL
464 B
Text

<extend src="layout.jael">
<block name="content">
<i if=message != null>
<script>
window.alert({{- json_message }});
</script>
You said: {{ message }}
</i>
<form action="/" method="post">
<input name="message" placeholder="Say something..." type="text" value=message>
<br>
<input type="submit" value="Submit">
</form>
</block>
</extend>