Sha256: e4d9a6423fec8310d76a8a16dcd161c47499e2f524f5ca4f9b42236064f303b1

Contents?: true

Size: 456 Bytes

Versions: 12

Compression:

Stored size: 456 Bytes

Contents

<div class="group-input-fields-content">
  <select name="<%= @field_name %>[<%= @field.slug %>][values][]" style="width: auto" class="form-control input-value <%= "required" if @field.options[:required].to_s.to_bool %>">
    <% @field.options[:multiple_options].each do |option|  %>
        <option value="<%= option[:value] %>" <%= 'selected' if @default_use && option[:default].present? %>><%= option[:title] %></option>
    <% end %>
  </select>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
camaleon_cms-0.2.1 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.2.0 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.1.9 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.1.8 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.1.7 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.1.6 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.1.5 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.1.4 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.1.3 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.1.2 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.0.2 app/views/admin/settings/custom_fields/fields/select.html.erb
camaleon_cms-0.0.1 app/views/admin/settings/custom_fields/fields/select.html.erb