diff --git a/src/model/boatreservation.rs b/src/model/boatreservation.rs index a7a3baa..c20e841 100644 --- a/src/model/boatreservation.rs +++ b/src/model/boatreservation.rs @@ -2,7 +2,6 @@ use crate::model::{boat::Boat, user::User}; use chrono::NaiveDate; use chrono::NaiveDateTime; use rocket::serde::{Deserialize, Serialize}; -use rocket::FromForm; use sqlx::{FromRow, SqlitePool}; use super::log::Log; diff --git a/src/tera/boatreservation.rs b/src/tera/boatreservation.rs index 16625af..bbb67ce 100644 --- a/src/tera/boatreservation.rs +++ b/src/tera/boatreservation.rs @@ -13,9 +13,8 @@ use tera::Context; use crate::{ model::{ boat::Boat, - boatdamage::{BoatDamage, BoatDamageFixed, BoatDamageToAdd, BoatDamageVerified}, boatreservation::{BoatReservation, BoatReservationToAdd}, - user::{AdminUser, CoxUser, DonauLinzUser, TechUser, User, UserWithRoles}, + user::{DonauLinzUser, User, UserWithRoles}, }, tera::log::KioskCookie, }; diff --git a/templates/includes/macros.html.tera b/templates/includes/macros.html.tera index c922ee7..db89100 100644 --- a/templates/includes/macros.html.tera +++ b/templates/includes/macros.html.tera @@ -1,19 +1,21 @@ {% macro boatreservation() %} -