Sha256: d3d4bcb91e49f219e3148ad3ddd6c1f161e6c10db67677e0a8040b44cbbdab44

Contents?: true

Size: 583 Bytes

Versions: 38

Compression:

Stored size: 583 Bytes

Contents

<% cache(content) do %>
  <div class="content_editor essence_boolean" id="<%= content_dom_id(content) %>">
    <input type="hidden" value="0" name="<%= content.form_field_name %>" />
    <%= check_box_tag(content.form_field_name, 1,
      !content.ingredient.nil? ? content.ingredient : options[:default_value],
      :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

38 entries across 38 versions & 1 rubygems

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