album/templates/place.rs.html

12 lines
307 B
HTML
Raw Normal View History

@use nickel::Request;
@use models::{Place};
@use server::PhotoLink;
@use templates::{page_base, photo_link};
2016-09-23 23:03:04 +03:00
@(req: &Request, photos: &[PhotoLink], place: &Place)
@:page_base(req, &format!("Photos from {}", place.place_name), &[], {
2016-09-26 01:45:13 +03:00
<div class="group">
@for p in photos {@:photo_link(p)}
2016-09-26 01:45:13 +03:00
</div>
})