Fix 'Delete' link in template files and button color