merge functionality of kiosk + logged in -> allow kiosk to have fördernde people as rower in logbook
This commit is contained in:
@ -40,7 +40,7 @@ async fn index(
|
||||
let allowed_to_edit = AllowedToUpdateBoathouse::new(db, &admin.user)
|
||||
.await
|
||||
.is_some();
|
||||
context.insert("allowed_to_edit", &boathouse);
|
||||
context.insert("allowed_to_edit", &allowed_to_edit);
|
||||
|
||||
context.insert(
|
||||
"loggedin_user",
|
||||
|
Reference in New Issue
Block a user