mirror of
https://github.com/Karaka-Management/oms-Surveys.git
synced 2026-01-11 16:08:41 +00:00
rector fixes
This commit is contained in:
parent
ccc564b4a5
commit
174d107c1c
|
|
@ -102,9 +102,9 @@ echo $this->data['nav']->render(); ?>
|
||||||
if ($element->type === SurveyElementType::HEADLINE) {
|
if ($element->type === SurveyElementType::HEADLINE) {
|
||||||
echo '<h1>' . $this->printHtml($element->getL11n()->text) . '</h1>';
|
echo '<h1>' . $this->printHtml($element->getL11n()->text) . '</h1>';
|
||||||
|
|
||||||
echo !empty($element->getL11n()->description)
|
echo empty($element->getL11n()->description)
|
||||||
? '<h2>' . $element->getL11n()->description . '</h2>'
|
? ''
|
||||||
: '';
|
: '<h2>' . $element->getL11n()->description . '</h2>';
|
||||||
} elseif ($element->type === SurveyElementType::CHECKBOX
|
} elseif ($element->type === SurveyElementType::CHECKBOX
|
||||||
|| $element->type === SurveyElementType::RADIO
|
|| $element->type === SurveyElementType::RADIO
|
||||||
|| $element->type === SurveyElementType::DROPDOWN
|
|| $element->type === SurveyElementType::DROPDOWN
|
||||||
|
|
@ -118,9 +118,9 @@ echo $this->data['nav']->render(); ?>
|
||||||
// Question/Text section
|
// Question/Text section
|
||||||
echo '<div class="question-section">';
|
echo '<div class="question-section">';
|
||||||
echo '<div class="question">' . $this->printHtml($element->getL11n()->text) . '</div>';
|
echo '<div class="question">' . $this->printHtml($element->getL11n()->text) . '</div>';
|
||||||
echo !empty($element->getL11n()->description)
|
echo empty($element->getL11n()->description)
|
||||||
? '<article class="question-description">' . $element->getL11n()->description . '</article>'
|
? ''
|
||||||
: '';
|
: '<article class="question-description">' . $element->getL11n()->description . '</article>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
// Value section
|
// Value section
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user