Update \bl-kernel\admin\views\edit-content.php

Relocate page Title to the above the Custom fields on the Content Edit page becauuse a Title should always be at the top of the page.
This commit is contained in:
David Blake 2019-11-03 12:51:18 +00:00
parent 3c37da3f47
commit 7bf5ecccf5

View File

@ -399,6 +399,11 @@ echo Bootstrap::formOpen(array(
</div>
</div>
<!-- Title -->
<div class="form-group mb-1">
<input id="jstitle" name="title" type="text" class="form-control form-control-lg rounded-0" value="<?php echo $page->title() ?>" placeholder="<?php $L->p('Enter title') ?>">
</div>
<!-- Custom fields: TOP -->
<?php
$customFields = $site->customFields();
@ -430,11 +435,6 @@ echo Bootstrap::formOpen(array(
}
?>
<!-- Title -->
<div class="form-group mb-1">
<input id="jstitle" name="title" type="text" class="form-control form-control-lg rounded-0" value="<?php echo $page->title() ?>" placeholder="<?php $L->p('Enter title') ?>">
</div>
<!-- Editor -->
<textarea id="jseditor" class="editable h-100" style=""><?php echo $page->contentRaw(true) ?></textarea>