Sha256: 5caa8a783893d97cf401f423631d1309c2c533c59afebdc44fdbac9e211ad36f

Contents?: true

Size: 1.12 KB

Versions: 26

Compression:

Stored size: 1.12 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? %>
        <%= render 'alchemy/admin/partials/autocomplete_tag_list', :f => f, :object => element %>
      <% end %>
      <%= render :partial => 'alchemy/admin/elements/element_foot', :locals => {:element => element, :f => f} %>
    <% end %>
  <% end %>
</div>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.8.3 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.6.3 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.6.2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.6.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.6.0 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.6.0.rc5 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.5.3.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/elements/_element.html.erb