creating a partial view for inputs and display of data