Sha256: bcfbfeabcc4dd88a348c161ef5b925aa89f27b8f0283b4c44caa879df0df9e8e

Contents?: true

Size: 1.01 KB

Versions: 14

Compression:

Stored size: 1.01 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 %>
      <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

14 entries across 14 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.2.4 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.3.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.4.beta2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.2.3.2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.2.3.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.3.0 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.3.rc5 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.2.2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.2.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.2.0 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.2.rc15 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.2.rc14 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.2.rc13 app/views/alchemy/admin/elements/_element.html.erb