Sha256: 124d3d980eb8a022971b636feac2c84b5e64aa35458fd7576d7b097f99741675

Contents?: true

Size: 574 Bytes

Versions: 9

Compression:

Stored size: 574 Bytes

Contents

<% cache(content) do %>
  <div class="content_editor essence_boolean" id="<%= content.dom_id %>">
    <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

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-3.0.4 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-3.0.3 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-3.0.2 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-3.0.1 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-3.0.0 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-3.0.0.rc8 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-3.0.0.rc7 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-3.0.0.rc6 app/views/alchemy/essences/_essence_boolean_editor.html.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/essences/_essence_boolean_editor.html.erb