Moved more redundant HTML to the case template