The availability check looks great, but isn't functional yet.
A semester should be chosen from a dropdown list. The default should be the first available semester.
The 'Book Now' should say 'Check Availability' until availability is determined.
The URL for checking availability is '/buildings/[building_id]/availability/[semester_id].json'
It will return a json string, either '{"availability" : true}' or '{"availability" : false}'.
The building id is pulled from the male/female image selected.
The semester id is pulled from the semester dropdown.
The availability check looks great, but isn't functional yet.
A semester should be chosen from a dropdown list. The default should be the first available semester.
The 'Book Now' should say 'Check Availability' until availability is determined.
The URL for checking availability is '/buildings/[building_id]/availability/[semester_id].json' It will return a json string, either '{"availability" : true}' or '{"availability" : false}'.
The building id is pulled from the male/female image selected. The semester id is pulled from the semester dropdown.