orbit-basic/app/views/admin/sites/_sitemap_block.html.erb

13 lines
443 B
Plaintext

<div class="map-block">
<h4><%= sitemap_block.i18n_variable[I18n.locale] %></h4>
<ul>
<% sitemap_block.children.each do |child| %>
<li class="clear">
<%= child.i18n_variable[I18n.locale] %>
<button id="<%= child.id %>" class="onoff pull-right">
<%= child.sitemap_enabled ? t('on_cap') : t('off_cap') %>
</button>
</li>
<% end if sitemap_block.children %>
</ul>
</div>