diff options
Diffstat (limited to '')
-rw-r--r-- | templates/users.rs.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/users.rs.html b/templates/users.rs.html new file mode 100644 index 0000000..9b9be30 --- /dev/null +++ b/templates/users.rs.html @@ -0,0 +1,12 @@ +@use super::base_html; +@use crate::User; + +@(users: Vec<User>) + +@:base_html(false, { +<ul> +@for user in users { + <li>@user.username</li> +} +</ul> +})
\ No newline at end of file |