adds form edit and show views