13 lines
585 B
Plaintext
13 lines
585 B
Plaintext
<div class="map-block">
|
|
<h4><%= sitemap_block.i18n_variable[I18n.locale] %><button class="onoff pull-right"><%= sitemap_block.sitemap_enabled ? t('on_upcase') : t('off_upcase') %></button></h4>
|
|
<ul>
|
|
<% sitemap_block.children.each do |child| %>
|
|
<li class="clear <%= 'disabled' if !child.sitemap_enabled %>">
|
|
<%= child.i18n_variable[I18n.locale] %>
|
|
<button id="<%= child.id %>" class="onoff pull-right">
|
|
<%= child.sitemap_enabled ? t('on_upcase') : t('off_upcase') %>
|
|
</button>
|
|
</li>
|
|
<% end if sitemap_block.children %>
|
|
</ul>
|
|
</div> |