added edit button and delete button

Prefer not to pass instance variables into forms