Use render() instead of str() for form rendering
Remove hardcoded url for domain delete