added partials for edit and index views