pass local variable into partial.
fixed problem with link to add days for leave requests. Added support for a part-day leave request and updated all views to support.