Sha256: 33beddc16925fc5c3efb725018a62a02bfa23817d9c7c512d64ffa1f88898191
Contents?: true
Size: 1.18 KB
Versions: 25
Compression:
Stored size: 1.18 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 => {:id => "element_#{element.id}_form"} do |f| %> <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 %> <% if element.taggable? %> <div class="autocomplete_tag_list"> <%= f.label :tag_list %> <%= render 'alchemy/admin/partials/autocomplete_tag_list', f: f %> </div> <% end %> <%= render :partial => 'alchemy/admin/elements/element_foot', :locals => {:element => element, :f => f} %> <% end %> <% end %> </div>
Version data entries
25 entries across 25 versions & 2 rubygems