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