Add functions to create inputs for form data, change el structure