Fix design validation, canonical routes, media headers and favicon

This commit is contained in:
2026-11-23 18:52:26 +08:00
parent 01ede89dcd
commit 584455c66d
18 changed files with 153 additions and 65 deletions
+1 -1
View File
@@ -4,6 +4,6 @@ use App\Content\View;
$e = View::escape(...);
?>
<div class="asset-field">
<label><?= $e($label) ?><input name="<?= $e($name) ?>" value="<?= $e($value) ?>" maxlength="1000"></label>
<label><?= $e($label) ?><input name="<?= $e($name) ?>" value="<?= $e($value) ?>" maxlength="1000"<?php if (isset($describedBy)): ?> aria-describedby="<?= $e($describedBy) ?>"<?php endif ?><?= !empty($invalid) ? ' aria-invalid="true"' : '' ?>></label>
<button type="button" class="button button-outline" data-asset-pick="<?= $e($name) ?>" data-asset-type="image/">媒体库</button>
</div>