button for "approval / decline" and textfield "comment"

button for "approval / decline" and textfield "comment"

Hello everybody! I'm new.
I'm trying to build an application that allows my colleagues to post requests for expenses. Once the requests are posted my boss wants to be able to approve or decline the requests and in addition to leave a comment to tell why he approved/declined.
Putting in the requests and seeing them all in the "view" works just fine. I also put the buttons in the form.
The problem: When I put in a a comment and press "approve" or "decline" nothing happens. How can I get the application to react to pushing the button?
I want it to change the status of the request in a different "view" and to send an automated email alert to the colleague that requested the expense that it has been dealt with.

what to do?
Thanks!