Sha256: 7bfe6751953301fb04661d9b4584580ac521ce09807c81d139fe5eb11ebcb975

Contents?: true

Size: 760 Bytes

Versions: 3

Compression:

Stored size: 760 Bytes

Contents

<% if collectible %>
  <p> <%= "Item: #{collectible}" %> </p>
<% end %>

<div>
  <%= form_tag add_member_collections_path, method: :put do %>
    <fieldset class="required">
      <% if collectible %>
        <%= hidden_field_tag :collectible_id, collectible.pid %>
      <% end %>

      <div>
        Collection:
        <%= select_tag :collection_id, options_from_collection_for_select(@collection_options, "pid", "title"), include_blank: true %>
      </div>

      or:

      <div>
        Profile:
        <%= select_tag :profile_collection_id, options_from_collection_for_select(@profile_collection_options, "pid", "title"), include_blank: true %>
      </div>

      <%= submit_tag "Add", class: 'btn btn-primary' %>
    </fieldset>
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
curate-0.5.1 app/views/curate/collections/_form_to_add_member.html.erb
curate-0.5.0 app/views/curate/collections/_form_to_add_member.html.erb
curate-0.4.2 app/views/curate/collections/_form_to_add_member.html.erb