make inventory.erb a partial in order to view om form page
make inventory.erb a partial in order to view om form page
remove redundant html code
add _layout.erb partial view to main page
remove duplicate inventory.erb