2018-11-01 02:08:29 +04:00
|
|
|
@use super::page_base;
|
2018-09-01 16:41:40 +04:00
|
|
|
@use crate::models::Place;
|
|
|
|
@use crate::server::Context;
|
2016-09-23 23:03:04 +03:00
|
|
|
|
2018-09-01 16:41:40 +04:00
|
|
|
@(context: &Context, places: &[Place])
|
2016-09-23 23:03:04 +03:00
|
|
|
|
2018-09-01 16:41:40 +04:00
|
|
|
@:page_base(context, "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>
|
|
|
|
})
|