Refactor patient form

1) Use "element" to place patient form since add and edit share the
same form.
2) Use form helper.
3) Update controllers to meet the change of view.