@@ -37,9 +37,12 @@ |
||
37 | 37 | <?php if (\class_exists(ImperaviRedactor::class)): ?> |
38 | 38 | <?= $form->field($translation, 'body') |
39 | 39 | ->widget(ImperaviRedactor::class) ?> |
40 | - <?php else: ?> |
|
40 | + <?php else { |
|
41 | + : ?> |
|
41 | 42 | <?= $form->field($translation, 'body')->textarea() ?> |
42 | - <?php endif; ?> |
|
43 | + <?php endif; |
|
44 | +} |
|
45 | +?> |
|
43 | 46 | <?= $form->field($translation, 'hint') |
44 | 47 | ->textInput(['disabled' => true]) ?> |
45 | 48 | <?php endforeach ?> |
@@ -37,9 +37,12 @@ |
||
37 | 37 | <?php if (\class_exists(ImperaviRedactor::class)): ?> |
38 | 38 | <?= $form->field($translation, 'body') |
39 | 39 | ->widget(ImperaviRedactor::class) ?> |
40 | - <?php else: ?> |
|
40 | + <?php else { |
|
41 | + : ?> |
|
41 | 42 | <?= $form->field($translation, 'body')->textarea() ?> |
42 | - <?php endif; ?> |
|
43 | + <?php endif; |
|
44 | +} |
|
45 | +?> |
|
43 | 46 | <?= $form->field($translation, 'hint') ?> |
44 | 47 | <?php endforeach ?> |
45 | 48 | <?= Html::submitButton( |