Sha256: 5131378524a19ee7b571f9e57d45ec6001711ea57235c9789af38a4fb721b1dd

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

<div class='field-unit__label'>
  <%= f.label field.label %>
</div>
<div class='field-unit__field'>
  <%= f.collection_select(
    field.selectable_ids&.to_sym || field.attribute,
    field.selectable_collection.call,
    field.selectable_value,
    field.selectable_text,
    field.selectable_options,
    { multiple: field.multiple }
  ) %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
administrate-field-collection_select-0.4.0 app/views/fields/collection_select/_form.html.erb
administrate-field-collection_select-0.3.0 app/views/fields/collection_select/_form.html.erb