1
0
mirror of https://github.com/actix/examples synced 2025-06-29 10:14:58 +02:00

Restructure folders (#411)

This commit is contained in:
Daniel T. Rodrigues
2021-02-25 21:57:58 -03:00
committed by GitHub
parent 9db98162b2
commit c3407627d0
334 changed files with 127 additions and 120 deletions

View 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>

View File

@ -0,0 +1,8 @@
{{!
Hi message:
args:
- lastname
- name
!}}
<h1>Hi, {{ name }} {{ lastname }}!</h1>
{{~> alias/welcome id = "hi", tag = 'p', tail = "" }}