mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-30 13:31:08 +00:00
Merge pull request #1659 from bookwyrm-social/edit-author-isni
Add isni to edit author form
This commit is contained in:
commit
099b516321
2 changed files with 18 additions and 10 deletions
|
@ -293,6 +293,7 @@ class AuthorForm(CustomForm):
|
||||||
"inventaire_id",
|
"inventaire_id",
|
||||||
"librarything_key",
|
"librarything_key",
|
||||||
"goodreads_key",
|
"goodreads_key",
|
||||||
|
"isni",
|
||||||
]
|
]
|
||||||
widgets = {
|
widgets = {
|
||||||
"name": forms.TextInput(attrs={"aria-describedby": "desc_name"}),
|
"name": forms.TextInput(attrs={"aria-describedby": "desc_name"}),
|
||||||
|
|
|
@ -101,6 +101,13 @@
|
||||||
{% include 'snippets/form_errors.html' with errors_list=form.goodreads_key.errors id="desc_goodreads_key" %}
|
{% include 'snippets/form_errors.html' with errors_list=form.goodreads_key.errors id="desc_goodreads_key" %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="field">
|
||||||
|
<label class="label" for="id_isni">{% trans "ISNI:" %}</label>
|
||||||
|
{{ form.isni }}
|
||||||
|
|
||||||
|
{% include 'snippets/form_errors.html' with errors_list=form.isni.errors id="desc_isni" %}
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue