Fixed the template to edit pools