This commit is contained in:
2023-08-29 21:34:00 +02:00
parent efcac1edc0
commit 852fd3bb42
9 changed files with 153 additions and 136 deletions

View File

@@ -1,5 +1,5 @@
use crate::htmx;
use crate::models;
use crate::HtmxEvents;
use maud::{html, Markup, PreEscaped};
use uuid::Uuid;
@@ -479,7 +479,7 @@ impl TripInfoTotalWeightRow {
html!(
span
hx-trigger={
(HtmxEvents::TripItemEdited.to_str()) " from:body"
(htmx::Event::TripItemEdited.to_str()) " from:body"
}
hx-get={"/trips/" (trip_id) "/total_weight"}
{