resource forms adding and editing + view