fixed style template issues and added jquery to delete and add to space show page