2016-09-23 23:03:04 +03:00
|
|
|
@use rphotos::models::Place;
|
2016-09-26 01:45:13 +03:00
|
|
|
@use templates::page_base;
|
2016-09-23 23:03:04 +03:00
|
|
|
|
2017-02-05 15:08:38 +04:00
|
|
|
@(user: Option<String>, places: &[Place])
|
2016-09-23 23:03:04 +03:00
|
|
|
|
2017-02-12 18:24:39 +04:00
|
|
|
@:page_base("Photo places", &[], &user, {
|
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>
|
|
|
|
})
|