added edit form to directory page. still no tests for website.js.