Completed saving leave application form to the database
Corrected name for the approver_id dropdown field on the front end

Added missing curly braces on controller/leave.php
no message