Sha256: f5a1b04e7459893fe5c3795ae3750b5b0c26f66189080675a94243e8814fae3b

Contents?: true

Size: 401 Bytes

Versions: 3

Compression:

Stored size: 401 Bytes

Contents

<div class="field-unit__field">
  <%= f.select(field.permitted_attribute,
        nil,
        {},
        'data-url': polymorphic_url([namespace, field.associated_class], format: :json)) do %>
    <%= options_for_select(
      # field.associated_resource_options, 
      
      field.belong_to_scope_package(current_owner, field.associated_class), 
      field.selected_option) %>
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
viniBaxter-spa-belongs_to_search-3.0.0 app/views/fields/belongs_to_search/_scope_package.html.erb
viniBaxter-spa-belongs_to_search-2.1.0 app/views/fields/belongs_to_search/_scope_package.html.erb
viniBaxter-spa-belongs_to_search-2.0.0 app/views/fields/belongs_to_search/_scope_package.html.erb