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" type="hidden"
name="AUTHENTICITY-TOKEN" name="AUTHENTICITY-TOKEN"
value="{{token}}"> value="{{token}}">
<label>Title</label> <label>Title</label>
<input type="text" <input required
placeholder="Enter title here..." type="text"
name="TITLE" placeholder="Enter title here..."
value="{{title}}"> name="TITLE"
<label>Keywords</label> value="{{title}}">
<p class="be-gui-form-hint"> <div class="be-gui-form-row">
Use a comma to seperate keywords (E.G. 'art,welding,green paint,metal'). <label>Month</label>
Words seperated by a space and not a comma are marked as one keyword. <select required name="MONTH">
So, 'green paint' is one keyword not two in this example. <option value=""
</p> selected
<input type="text" disabled
name="KEYWORDS" hidden>
placeholder="Example: art,welding,green paint,metal" Select Month
value="{{keywords}}"> </option>
<label>Thumbnail</label> <option>January</option>
<input required <option>February</option>
type="file" <option>March</option>
name="THUMBNAIL-FILE"> <option>April</option>
<textarea name="PAGE-CONTENT" <option>May</option>
id="mytextarea" <option>June</option>
placeholder="Enter archive content here..."> <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}} {{data}}
</textarea> </textarea>
<!-- <input type="submit" value="Save Page"> --> <!-- <input type="submit" value="Save Page"> -->
</form> </form>
</div> </div>
{% endblock %} {% endblock %}

Loading…
Cancel
Save