Edit bookmark tags

This commit is contained in:
Sascha Ißbrücker
2019-07-01 22:05:38 +02:00
parent 3b753a601f
commit 0e872c754b
6 changed files with 84 additions and 30 deletions

View File

@@ -11,13 +11,27 @@
{% endif %}
</div>
<div class="form-group">
<label for="{{ form.title.id_for_label }}" class="form-label">Title</label>
{{ form.title|add_class:"form-input"|attr:"placeholder: Leave empty to fill from website metadata" }}
<label for="{{ form.title.id_for_label }}" class="form-label">Tags</label>
{{ form.tag_string|add_class:"form-input" }}
<div class="form-input-hint">
Enter any number of tags separated by space and without the hash (#). If a tag does not exist it will be automatically created.
</div>
{{ form.tag_string.errors }}
</div>
<div class="form-group">
<label for="{{ form.title.id_for_label }}" class="form-label">Custom title</label>
{{ form.title|add_class:"form-input" }}
<div class="form-input-hint">
Optional, leave empty to use title from website.
</div>
{{ form.title.errors }}
</div>
<div class="form-group">
<label for="{{ form.description.id_for_label }}" class="form-label">Description</label>
{{ form.description|add_class:"form-input"|attr:"placeholder: Leave empty to fill from website metadata" }}
<label for="{{ form.description.id_for_label }}" class="form-label">Custom description</label>
{{ form.description|add_class:"form-input"|attr:"rows:4" }}
<div class="form-input-hint">
Optional, leave empty to use description from website.
</div>
{{ form.description.errors }}
</div>
<div class="form-group mt-2">