form as component working alongside inline form