Sha256: cd5c98bf7f399082c7e63ff3c85eaf1b8fa3408a6232c6dd048639a127399a8f

Contents?: true

Size: 631 Bytes

Versions: 51

Compression:

Stored size: 631 Bytes

Contents

<div class="content_editor essence_boolean" id="<%= content.dom_id %>" data-content-id="<%= content.id %>">
  <input type="hidden" value="0" name="<%= content.form_field_name %>">
  <%= check_box_tag content.form_field_name, 1,
    content.ingredient.presence || content.settings_value(
      :default_value, local_assigns.fetch(:options, {})
    ),
    class: local_assigns.fetch(:html_options, {})[:class],
    style: local_assigns.fetch(:html_options, {})[:style] %>
  <label for="<%= content.form_field_id %>" style="display: inline">
    <%= render_content_name(content) %>
  </label>
  <%= render_hint_for(content) %>
</div>

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
alchemy_cms-4.6.7 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.6.6 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.6.5 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.5.1 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.4.5 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.6.4 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.0.6 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.6.3 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-3.6.7 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-3.6.6 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.6.2 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.6.1 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.6.0 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.5.0 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.4.4 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.4.3 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.4.2 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.4.1 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.4.0 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-4.3.2 app/views/alchemy/essences/_essence_boolean_editor.html.erb