Add input form and edit views