mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
9 lines
251 B
Handlebars
9 lines
251 B
Handlebars
{{#> base title = "Actix Web" }}
|
|
{{~#if let Some(name) = query.get("name") }}
|
|
{{ let lastname = query.get("lastname").ok_or(MyErr("Bad query"))? }}
|
|
{{> card/hi ~}}
|
|
{{ else ~}}
|
|
{{> card/form ~}}
|
|
{{/if ~}}
|
|
{{/base }}
|