2017-08-03 21:59:21 +04:00
|
|
|
@use nickel::Request;
|
2017-09-02 02:05:44 +04:00
|
|
|
@use models::Place;
|
2016-09-26 01:45:13 +03:00
|
|
|
@use templates::page_base;
|
2016-09-23 23:03:04 +03:00
|
|
|
|
2017-08-03 21:59:21 +04:00
|
|
|
@(req: &Request, places: &[Place])
|
2016-09-23 23:03:04 +03:00
|
|
|
|
2017-08-03 21:59:21 +04:00
|
|
|
@:page_base(req, "Photo places", &[], {
|
2016-09-26 01:45:13 +03:00
|
|
|
<ul class="allplaces">
|
|
|
|
@for p in places {
|
|
|
|
<li><a href="/place/@p.slug">@p.place_name</a>
|
|
|
|
}</ul>
|
|
|
|
})
|