Sha256: ce75909bb29011d3c59029815997a62ae594feecce8cc2d6c12265552ee892c5

Contents?: true

Size: 437 Bytes

Versions: 83

Compression:

Stored size: 437 Bytes

Contents

<div class="group-input-fields-content" data-callback-render="custom_field_radio_val">
    <% field.options[:multiple_options].each do |option|  %>
        <div class="radio"><label><input type="radio" value="<%= option[:value] %>" name="<%= field_name %>[<%= field.slug %>][values][]" <%= 'checked' if default_use &&  option[:default].present? && option[:default] != 'none' %> > <%= option[:title] %></label></div>
    <% end %>
</div>

Version data entries

83 entries across 83 versions & 2 rubygems

Version Path
camaleon_cms-2.3.0 app/views/camaleon_cms/admin/settings/custom_fields/fields/_radio.html.erb
camaleon_cms-2.2.1 app/views/camaleon_cms/admin/settings/custom_fields/fields/_radio.html.erb
camaleon_cms-2.2.0 app/views/camaleon_cms/admin/settings/custom_fields/fields/_radio.html.erb