moviewyrm/bookwyrm/templates/lists/item_notes_field.html

22 lines
643 B
HTML
Raw Normal View History

2022-01-25 20:10:58 +00:00
{% load i18n %}
<div class="field">
<label
for="id_notes_{{ form_id }}"
class="{% if show_label %}label{% else %}is-sr-only{% endif %}"
>
{% trans "Notes:" %}
</label>
<div class="control">
<textarea
class="textarea"
id="id_notes_{{ form_id }}"
maxlength="300"
name="notes"
2022-01-27 20:55:53 +00:00
aria-describedby="notes_description_{{ form_id }}"
2022-01-25 20:10:58 +00:00
>{{ item.notes|default:'' }}</textarea>
</div>
<p class="help" id="notes_description_{{ form_id }}">
{% trans "An optional note that will be displayed with the book." %}
</p>
</div>