diff --git a/src/templates.rs b/src/templates.rs index 559059b..146531b 100644 --- a/src/templates.rs +++ b/src/templates.rs @@ -156,6 +156,7 @@ pub fn main_page( }; let template = html! { + span style="display: none;" id="account-id" { (acc_id) } .header { div {} .side { @@ -207,6 +208,8 @@ pub fn main_page( div id="list" hx-get="" hx-trigger="every 10s" hx-swap="innerHTML" hx-target="this" hx-on="changeDates" { (list) } + + script src="/static/scripts/save.js" type="text/javascript" {} }; if only_list {