Sha256: 7fe32e953a83aba638199e1c589c3e56186f020ab2df828a745febe8429810a5

Contents?: true

Size: 564 Bytes

Versions: 8

Compression:

Stored size: 564 Bytes

Contents

<% cache(content) do %>
  <div class="content_editor essence_boolean" id="<%= content_dom_id(content) %>">
    <%= check_box_tag(content.form_field_name, 1,
      !content.ingredient.nil? ? content.ingredient : options[:default_value],
      :onclick => "Alchemy.handleEssenceCheckbox(this)",
      :class => html_options[:class],
      :style => html_options[:style]
    ) %>
    <label for="<%= content.form_field_id %>" style="display: inline">
      <%= render_content_name(content) %>
      <%= delete_content_link(content) %>
    </label>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
alchemy_cms-2.2.4 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-2.2.3.2 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-2.2.3.1 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-2.2.2 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-2.2.1 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-2.2.0 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-2.2.rc15 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-2.2.rc14 app/views/alchemy/essences/_essence_boolean_editor.html.erb