1
0
mirror of https://github.com/actix/examples synced 2024-12-01 01:24:35 +01:00
examples/template_yarte/templates/deep/more/card/form.hbs

21 lines
489 B
Handlebars
Raw Normal View History

2019-04-01 01:23:31 +02:00
{{!
Form: What is your name?
!}}
{{> ../deep/welcome id = "welcome", tag = "h1", tail = '!' ~}}
<div>
{{! Title !}}
<h3>What is your name?</h3>
{{! Form !}}
<form>
{{! Input name !}}
Name: <input type="text" name="name" />
{{! Input last name !}}
<br/>Last name: <input type="text" name="lastname" />
{{! Submit !}}
<br/><p><input type="submit"></p></form>
{{! Order and remove whitespace with comments !}}
</div>