Sha256: b5e43ef5a4cce5d429184e6e36d5782c6a9ada4428ad239291459e953f7da268
Contents?: true
Size: 997 Bytes
Versions: 15
Compression:
Stored size: 997 Bytes
Contents
<div class="with_padding"> <%- if @elements.blank? -%> <div id="trash_empty_notice" <%= @elements.blank? ? '' : 'style="display: none"' %> class="info"> <%= render_icon('info') %> <%= t('Your trash is empty') %> </div> <%- else -%> <div class="info"> <%= render_icon('info') %> <%= t('Drag an element over to the element window to restore it') %> </div> <div id="trash_items"> <%- @elements.each do |element| -%> <%= render :partial => 'alchemy/admin/elements/element', :object => element, :locals => {:draggable => !@allowed_elements.detect { |e| e['name'] == element.name }.nil? } %> <%- end -%> </div> <p> <%= link_to_confirmation_window(t('clear trash'), t('Do you really want to clear the trash?'), alchemy.clear_admin_trash_path(:page_id => @page.id), :class => 'button') %> </p> <%- end -%> </div> <script type="text/javascript" charset="utf-8"> Alchemy.DraggableTrashItems(<%= @draggable_trash_items.to_json.html_safe %>); </script>
Version data entries
15 entries across 15 versions & 1 rubygems