put together add and detail forms