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

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/elements/_element.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/elements/_element.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/elements/_element.html.erb