mirror of
https://github.com/actix/examples
synced 2025-06-27 09:29:02 +02:00
restructure folders
This commit is contained in:
16
templating/yarte/templates/deep/more/card/form.hbs
Normal file
16
templating/yarte/templates/deep/more/card/form.hbs
Normal file
@ -0,0 +1,16 @@
|
||||
{{!
|
||||
Form: What is your name?
|
||||
!}}
|
||||
{{> ../deep/welcome id = "welcome", tag = "h1", tail = '!' ~}}
|
||||
<div>
|
||||
<h3>What is your name?</h3>
|
||||
<form>
|
||||
{{! Input name !}}
|
||||
Name: <input type="text" name="name" /><br/>
|
||||
{{! Input last name !}}
|
||||
Last name: <input type="text" name="lastname"/><br/>
|
||||
<p>
|
||||
<input type="submit">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
8
templating/yarte/templates/deep/more/card/hi.hbs
Normal file
8
templating/yarte/templates/deep/more/card/hi.hbs
Normal file
@ -0,0 +1,8 @@
|
||||
{{!
|
||||
Hi message:
|
||||
args:
|
||||
- lastname
|
||||
- name
|
||||
!}}
|
||||
<h1>Hi, {{ name }} {{ lastname }}!</h1>
|
||||
{{~> alias/welcome id = "hi", tag = 'p', tail = "" }}
|
Reference in New Issue
Block a user