<%= render_icon(:page) %>
{{#unless redirects_to_external}}
<%= link_to '',
alchemy.list_admin_elements_path(page_id: '__ID__').gsub('__ID__', '{{id}}'),
remote: true,
data: {
'page-id' => '{{id}}',
url: @url_prefix + '{{urlname}}'
},
class: "show_elements_to_link",
title: Alchemy.t(:show_elements_from_page)
%>
{{/unless}}
{{urlname}}">
{{#if redirects_to_external}}
{{ name }}
{{else}}
<%= link_to('{{ name }}', '', {
data: {
'page-id' => '{{id}}',
url: @url_prefix + '{{urlname}}'
},
title: Alchemy.t('page_for_links.choose_page', name: '{{name}}'),
class: "sitemap_pagename_link"
}) %>
{{/if}}
{{#if children}}