Sha256: a7678fc9853368af27fa350c6fa0581336ef5ab73fed0d0c3f6744f950333ede

Contents?: true

Size: 1.05 KB

Versions: 13

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

13 entries across 13 versions & 1 rubygems

Version Path
alchemy_cms-2.1.5 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.4 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.3 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.rc6 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.rc5 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.rc4 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.rc3 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.rc2 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.beta6 app/views/alchemy/admin/elements/_element.html.erb
alchemy_cms-2.1.beta5 app/views/alchemy/admin/elements/_element.html.erb