Browse Source

add 'Publish' date section to /user/create-archive.html template.

Only 'Month' and 'Year' are used because 'Day' is not relevant -- at time of
writing. You might see an change to this form in a later commit if requirements change.
stable
Craig Oates 2 years ago
parent
commit
833b125f46
  1. 79
      templates/user/create-archive.html

79
templates/user/create-archive.html

@ -62,31 +62,62 @@
type="hidden"
name="AUTHENTICITY-TOKEN"
value="{{token}}">
<label>Title</label>
<input type="text"
placeholder="Enter title here..."
name="TITLE"
value="{{title}}">
<label>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.
So, 'green paint' is one keyword not two in this example.
</p>
<input type="text"
name="KEYWORDS"
placeholder="Example: art,welding,green paint,metal"
value="{{keywords}}">
<label>Thumbnail</label>
<input required
type="file"
name="THUMBNAIL-FILE">
<textarea name="PAGE-CONTENT"
id="mytextarea"
placeholder="Enter archive content here...">
<label>Title</label>
<input required
type="text"
placeholder="Enter title here..."
name="TITLE"
value="{{title}}">
<div class="be-gui-form-row">
<label>Month</label>
<select required name="MONTH">
<option value=""
selected
disabled
hidden>
Select 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="{{year}}">
</div>
<br>
<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.
So, 'green paint' is one keyword not two in this example.
</p>
<input type="text"
name="KEYWORDS"
placeholder="Example: art,welding,green paint,metal"
value="{{keywords}}">
<label>Thumbnail</label>
<input required
type="file"
name="THUMBNAIL-FILE">
<textarea name="PAGE-CONTENT"
id="mytextarea"
placeholder="Enter archive content here...">
{{data}}
</textarea>
<!-- <input type="submit" value="Save Page"> -->
</textarea>
<!-- <input type="submit" value="Save Page"> -->
</form>
</div>
{% endblock %}

Loading…
Cancel
Save