|
@@ -9,14 +9,14 @@
|
|
|
<label class="text-sm mb-0 font-weight-bold text-secondary">Frequency</label>
|
|
|
<input type="text"
|
|
|
data-name="value"
|
|
|
- value="<?= @($currentChildReview->data->value) ? trim(strip_tags($currentChildReview->data->value)) : '' ?>"
|
|
|
+ value="<?= @($currentChildReview->data->value) ? trim(strip_tags($currentChildReview->data->value)) : (@($previousChildReview->data->value) ? trim(strip_tags($previousChildReview->data->value)) : '') ?>"
|
|
|
class="form-control form-control-sm min-width-unset">
|
|
|
</div>
|
|
|
<div class="mb-2">
|
|
|
<label class="text-sm mb-0 font-weight-bold text-secondary">Experience</label>
|
|
|
<input type="text"
|
|
|
data-name="experience"
|
|
|
- value="<?= @($currentChildReview->data->experience) ?>"
|
|
|
+ value="<?= @($currentChildReview->data->experience) ? trim(strip_tags($currentChildReview->data->experience)) : (@($previousChildReview->data->experience) ? trim(strip_tags($previousChildReview->data->experience)) : '') ?>"
|
|
|
class="form-control form-control-sm min-width-unset">
|
|
|
</div>
|
|
|
|