platform/angel_jael/example/views/index.jael
2018-11-10 16:48:03 -05:00

15 lines
No EOL
462 B
Text

<extend src="layout.jl">
<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>