mirror of
https://github.com/actix/examples
synced 2024-11-24 14:53:00 +01:00
21 lines
489 B
Handlebars
21 lines
489 B
Handlebars
{{!
|
|
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>
|