1
0
mirror of https://github.com/actix/examples synced 2025-06-30 10:34:27 +02:00

Update yarte to 0.2

This commit is contained in:
Juan Aguilar Santillana
2019-04-01 01:23:31 +02:00
parent 273068c362
commit 8646a89249
11 changed files with 167 additions and 49 deletions

View File

@ -0,0 +1,20 @@
{{!
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>