Edit Location

<%= form_for [:admin, @pickup_location] do |f| %> <%= f.fields_for @pickup_location.hours.new do |f| %> <% ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"].each do |day| %> <%= render :partial => "admin/suppliers/hours_form", :locals => { :day => day, :f => f } %> <% end %> <% end %>
<%= f.submit "Update" %> <%= t('or') %> <%= link_to t("cancel"), "#", :id => "cancel_link" %> <% end %>