mirror of
https://github.com/actix/examples
synced 2024-12-01 01:24:35 +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>
|