platform/angel_jael/example/views/index.jael

15 lines
462 B
Text
Raw Normal View History

2017-09-30 23:01:30 +00:00
<extend src="layout.jl">
<block name="content">
2017-10-01 05:00:14 +00:00
<i if=message != null>
2017-10-02 17:29:02 +00:00
<script>
window.alert({{- json_message }});
</script>
2017-10-01 05:00:14 +00:00
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>
2017-09-30 23:01:30 +00:00
</block>
</extend>