protected function renderAfterFormLayoutForDetailsContent($form = null)
 {
     SendTestEmailModalEditView::registerSendTestEmailScriptsForDetailsView($this->modelId, $this->modelClassName);
     $content = $this->renderHtmlAndTextContentElement($this->model, null, $form);
     $content .= parent::renderAfterFormLayoutForDetailsContent($form);
     return $content;
 }
 protected function renderContent()
 {
     SendTestEmailModalEditView::registerSendTestEmailScriptsForDetailsView($this->modelId, $this->modelClassName);
     // TODO: @Shoaibi/@Jason: Low: Do security walkthrough
     $actionElementBarContent = $this->renderActionElementBar(false);
     $pillbox = ZurmoHtml::tag('nav', array('class' => 'pillbox clearfix'), $actionElementBarContent);
     $switch = $this->renderRightSideContent();
     $content = $this->renderTitleContent();
     $content .= ZurmoHtml::tag('div', array('class' => 'view-toolbar-container clearfix'), $pillbox . $switch);
     return $content;
 }