Sha256: 0068b7d8bc7b6708369d108d3634a39ee3578580b23d7074142c498dab2bcf7e
Contents?: true
Size: 1.05 KB
Versions: 8
Compression:
Stored size: 1.05 KB
Contents
<div class="element_editor<%= element.folded ? ' folded' : '' %> <%= defined?(draggable) && !draggable ? 'not-draggable' : 'draggable' %>" id="element_<%= element.id -%>" data-element-id="<%= element.id -%>"> <%= render :partial => "alchemy/admin/elements/element_head", :locals => {:element => element} %> <%- if !element.folded? -%> <%= form_for( [:admin, element], :remote => true, :html => { :onsubmit => "Alchemy.saveElement(this)", :id => "element_#{element.id}_form" } ) do %> <div id="element_<%= element.id %>_errors" class="element_errors" style="display: none"></div> <div id="element_<%= element.id %>_content" class="element_content"> <%= render_editor(element) %> </div> <%- if element.has_validations? -%> <p class="validation_notice"> <span class="validation_indicator">*</span> <%= t('Mandatory') %> </p> <%- end -%> <%= render :partial => 'alchemy/admin/elements/element_foot', :locals => {:element => element} %> <% end %> <%- end -%> </div>
Version data entries
8 entries across 8 versions & 1 rubygems