diff --git a/app/views/order_cycles/_selection.html.erb b/app/views/order_cycles/_selection.html.erb deleted file mode 100644 index 4d81ffd361..0000000000 --- a/app/views/order_cycles/_selection.html.erb +++ /dev/null @@ -1,33 +0,0 @@ -<%# When written in HAML, dynamic attributes (ie. (class="order-cycle-#{foo}")) were failing to parse. - Regrettably rewritten in ERB. Fix me! %> - -<% if cart_is_empty and order_cycles_enabled? %> -
- <%= form_for current_order(true) do |f| %> -
-

Active Hubs

- <%= f.select :distributor_id, distributor_options(@all_distributors, f.object.distributor_id, current_order_cycle) %> -
- <%= f.submit 'Choose Hub' %> -
- -
-

Closing Soon

- - <% @order_cycles.each do |order_cycle| %> - - - - - - <% end %> -
<%= f.radio_button :order_cycle_id, order_cycle.id %> - - - -
- <%= f.submit 'Choose Order Cycle' %> -
- <% end %> -
-<% end %>