Allow setting URL slug through admin panel.

This commit is contained in:
2018-02-22 20:07:06 +01:00
parent c6c249787f
commit bcbb74a680
3 changed files with 15 additions and 4 deletions

View File

@@ -65,6 +65,9 @@ class EditAssetForm extends SubTemplate
<dt>Title</dt>
<dd><input type="text" name="title" maxlength="255" size="70" value="', $this->asset->getTitle(), '">
<dt>URL slug</dt>
<dd><input type="text" name="slug" maxlength="255" size="70" value="', $this->asset->getSlug(), '">
<dt>Date captured</dt>
<dd><input type="text" name="date_captured" size="30" value="',
$date_captured ? $date_captured->format('Y-m-d H:i:s') : '', '" placeholder="Y-m-d H:i:s">