Sha256: e5fcd904edd77165c6ed4c034a734f0d69c970ba2f0657fdaa3548c671815728

Contents?: true

Size: 539 Bytes

Versions: 4

Compression:

Stored size: 539 Bytes

Contents

<div class="form-group <%= form.error_class field_name %>">
  <%= form.label metadata[:foreign_key], metadata[:label] %>
  <div class="row">
    <div class="col-xs-6 col-sm-3">
      <%= form.select metadata[:foreign_key], model_choices(model_decorator metadata[:class]), { }, { class: 'form-control', multiple: true } %>
      <p class="help-block">
        Press CTRL to select/deselect multiple items.
        <%= new_link metadata[:class], prepend: 'Or' %>
      </p>
    </div>
  </div>
  <%= form.error_messages field_name %>
</div>

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
wallaby-4.1.6 app/views/wallaby/resources/form/_has_and_belongs_to_many.html.erb
wallaby-4.1.6 app/views/wallaby/resources/form/_has_many.html.erb
wallaby-5.0.1 app/views/wallaby/resources/form/_has_and_belongs_to_many.html.erb
wallaby-5.0.1 app/views/wallaby/resources/form/_has_many.html.erb