mirror of
https://github.com/actix/examples
synced 2024-12-18 08:23:10 +01:00
11 lines
194 B
Handlebars
11 lines
194 B
Handlebars
<body>
|
|
|
|
{{~#if let Some(name) = query.get("name") }}
|
|
{{ let lastname = query.get("lastname").ok_or(yarte::Error)? }}
|
|
{{> card/hi ~}}
|
|
{{ else ~}}
|
|
{{> card/form ~}}
|
|
{{/if ~}}
|
|
|
|
</body>
|