spec/dummy/app/views/labs/search.html.haml in medivo-0.2.7 vs spec/dummy/app/views/labs/search.html.haml in medivo-0.2.8
- old
+ new
@@ -34,11 +34,11 @@
%ul#lab_list
= link_to 'View more locations', '#', :id => 'more_labs_list_toggler', :style => 'padding-left:50px;'
// form for ajax lab searches ..the code to handle return data is in app/assets/medivo/labs/handle_ajax.coffee
-= form_tag(medivo.data_labs_path, :method=>:get, :id=>'lab_data_search', :remote=>true) do
+= form_tag(medivo.labs_path, :method=>:get, :id=>'lab_data_search', :remote=>true) do
%div
Enter a new Zip Code
.error_message
= text_field_tag :zip_code, params[:zip_code]
@@ -59,12 +59,14 @@
// if you want to allow the showing of more appointment times
= link_to 'View more times', '#', :id => 'more_appointment_list_toggler', :style => 'display:none;padding-left:50px;'
// form for ajax appointment searches ..the code to handle return data is in app/assets/medivo/lab_appointments/handlers.coffee
-= form_tag(medivo.data_appointments_path, :method=>:get, :id=>'appointment_data_search', :remote=>true) do
+= form_tag(medivo.find_appointment_labs_path, :method=>:get, :id=>'appointment_data_search', :remote=>true) do
%div
Enter a Date
+ .spinner_elem{:style=>'display:none'}
+ %img{ :src => "/assets/medivo/ajax_waiting.gif", :height => "20", :width => "20"}
.error_message
= text_field_tag :date, (Date.today+3.days).strftime("%m/%d/%Y")
= hidden_field_tag :lab_code, '' # you have to fill this in dynamically with a lab_code
%p