mirror of
https://github.com/actix/examples
synced 2025-06-29 18:24:57 +02:00
Update yarte version to 0.6.0 and his templates with partial block and html minifier new features (#251)
This commit is contained in:
@ -9,12 +9,11 @@
|
||||
{{! Form !}}
|
||||
<form>
|
||||
{{! Input name !}}
|
||||
Name: <input type="text" name="name" />
|
||||
Name: <input type="text" name="name" /><br/>
|
||||
{{! 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 !}}
|
||||
Last name: <input type="text" name="lastname"/><br/>
|
||||
<p>
|
||||
<input type="submit">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -1 +1,4 @@
|
||||
<head><meta charset="utf-8" /><title>{{ title }}</title></head>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
|
Reference in New Issue
Block a user