Adding back the correct old input for the body field

parent 3d82c7eb
......@@ -13,6 +13,7 @@
{!! $errors->first("{$lang}.slug", '<span class="help-block">:message</span>') !!}
</div>
<?php $old = $page->hasTranslation($lang) ? $page->translate($lang)->body : '' ?>
@editor('body', trans('page::pages.form.body'), old("$lang.body", $old), $lang)
<?php if (config('asgard.page.config.partials.translatable.edit') !== []): ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment