|
|
|
@ -99,18 +99,22 @@
|
|
|
|
|
<form class="be-gui-form" |
|
|
|
|
action="/rename/archive-entry" |
|
|
|
|
method="post"> |
|
|
|
|
<input type="hidden" |
|
|
|
|
<input required |
|
|
|
|
type="hidden" |
|
|
|
|
name="AUTHENTICITY-TOKEN" |
|
|
|
|
value="{{token}}"> |
|
|
|
|
<input type="hidden" |
|
|
|
|
<input required |
|
|
|
|
type="hidden" |
|
|
|
|
name="ID" |
|
|
|
|
value="{{db-data.id}}"> |
|
|
|
|
<input type="hidden" |
|
|
|
|
<input required |
|
|
|
|
type="hidden" |
|
|
|
|
name="ARCHIVE-SLUG" |
|
|
|
|
value="{{db-data.slug}}"> |
|
|
|
|
<label>Title</label> |
|
|
|
|
<div class="be-gui-form-row"> |
|
|
|
|
<input type="text" |
|
|
|
|
<input required |
|
|
|
|
type="text" |
|
|
|
|
name="NEW-TITLE" |
|
|
|
|
value="{{db-data.title}}"> |
|
|
|
|
<button class="be-gui-button-no-text" |
|
|
|
@ -122,6 +126,52 @@
|
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|
|
|
|
|
|
<form class="be-gui-form" |
|
|
|
|
action="/edit/archive-publish-date" |
|
|
|
|
method="post"> |
|
|
|
|
<input required |
|
|
|
|
type="hidden" |
|
|
|
|
name="AUTHENTICITY-TOKEN" |
|
|
|
|
value="{{token}}"> |
|
|
|
|
<input required |
|
|
|
|
type="hidden" |
|
|
|
|
name="ARCHIVE-SLUG" |
|
|
|
|
value="{{db-data.slug}}"> |
|
|
|
|
<div class="be-gui-form-row"> |
|
|
|
|
<label>Month</label> |
|
|
|
|
<select required name="MONTH"> |
|
|
|
|
<option value="{{db-data.month}}" |
|
|
|
|
selected> |
|
|
|
|
{{db-data.month}} |
|
|
|
|
</option> |
|
|
|
|
<option>January</option> |
|
|
|
|
<option>February</option> |
|
|
|
|
<option>March</option> |
|
|
|
|
<option>April</option> |
|
|
|
|
<option>May</option> |
|
|
|
|
<option>June</option> |
|
|
|
|
<option>July</option> |
|
|
|
|
<option>August</option> |
|
|
|
|
<option>September</option> |
|
|
|
|
<option>October</option> |
|
|
|
|
<option>November</option> |
|
|
|
|
<option>December</option> |
|
|
|
|
</select> |
|
|
|
|
<label>Year</label> |
|
|
|
|
<input required |
|
|
|
|
type="number" |
|
|
|
|
placeholder="The year the artwork was published..." |
|
|
|
|
name="YEAR" |
|
|
|
|
value="{{db-data.year}}"> |
|
|
|
|
<button class="be-gui-button-no-text" |
|
|
|
|
title="Click to update the publish date for '{{db-data.title}}'" |
|
|
|
|
type="submit"> |
|
|
|
|
<img alt="Update publish date" |
|
|
|
|
src="/images/icons/save.png"> |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|
|
|
|
|
|
<form class="be-gui-form" |
|
|
|
|
action="/edit/archive-keywords" |
|
|
|
|
method="post"> |
|
|
|
@ -133,7 +183,7 @@
|
|
|
|
|
type="hidden" |
|
|
|
|
name="ARCHIVE-SLUG" |
|
|
|
|
value="{{db-data.slug}}"> |
|
|
|
|
<label>Keywords</label> |
|
|
|
|
<label>Search Keywords</label> |
|
|
|
|
<p class="be-gui-form-hint"> |
|
|
|
|
Use a comma to seperate keywords (E.G. 'art,welding,green paint,metal'). |
|
|
|
|
Words seperated by a space and not a comma are marked as one keyword. |
|
|
|
@ -154,13 +204,19 @@
|
|
|
|
|
</form> |
|
|
|
|
|
|
|
|
|
<form action="/edit/archive" method="post"> |
|
|
|
|
<input required type="hidden" name="AUTHENTICITY-TOKEN" value="{{token}}"> |
|
|
|
|
<input required type="hidden" name="slug" value="{{db-data.slug}}"> |
|
|
|
|
<textarea name="PAGE-CONTENT" id="mytextarea" |
|
|
|
|
<input required |
|
|
|
|
type="hidden" |
|
|
|
|
name="AUTHENTICITY-TOKEN" |
|
|
|
|
value="{{token}}"> |
|
|
|
|
<input required |
|
|
|
|
type="hidden" |
|
|
|
|
name="slug" |
|
|
|
|
value="{{db-data.slug}}"> |
|
|
|
|
<textarea name="PAGE-CONTENT" |
|
|
|
|
id="mytextarea" |
|
|
|
|
placeholder="Enter page content..."> |
|
|
|
|
{{data}} |
|
|
|
|
</textarea> |
|
|
|
|
<!-- <input type="submit" value="Save Page"> --> |
|
|
|
|
</form> |
|
|
|
|
</div> |
|
|
|
|
{% endblock %} |
|
|
|
|