summaryrefslogtreecommitdiffstats
path: root/templates/users.rs.html
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-10-04 19:55:17 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-10-04 19:59:53 +0100
commit5d395d4ed73061b247c32dc63db6ddfa2dd62d39 (patch)
tree084df0c83294123c6e884fa46d022f120ba5de86 /templates/users.rs.html
downloadpinussy-5d395d4ed73061b247c32dc63db6ddfa2dd62d39.tar.gz
pinussy-5d395d4ed73061b247c32dc63db6ddfa2dd62d39.tar.bz2
pinussy-5d395d4ed73061b247c32dc63db6ddfa2dd62d39.zip
initial commit
Diffstat (limited to '')
-rw-r--r--templates/users.rs.html12
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