Sha256: b7389905a6c26737cf3c77025acbb3e80667f5f7bc1f92914bf53ec3e768846b

Contents?: true

Size: 582 Bytes

Versions: 2

Compression:

Stored size: 582 Bytes

Contents

<h1>Products Pickup Settings</h1>
<h4>Pickups</h4>
<div class="locations">
<% if @pickups.empty? %>
  <p>No Pickup Locations Specified</p>
<% else %>
<ul>
  <%= render @pickups %>
</ul>
<% end %>
</br>

</div>
<div>
  <% form_tag({:controller => "pickups", :action => "create"}, :method => :post) do %>
    <%= select_tag "locations", options_from_collection_for_select(@locations, "id", "location_name") %>
    <%= text_field :dates, nil, :id => :dates %>
    <%= submit_tag "Save" %>
  <% end %>
</div>
<script type="text/javascript">
  $("#dates").multiDatesPicker();
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 app/views/dash/pickups/new.html.erb
spree_suppliers-0.60.3 app/views/dash/pickups/new.html.erb