show publish date in span instead of input field if object is already published