select correct isni record when adding authors
The original implementation of this was so, so broken. Now it's not.
This commit is contained in:
@ -59,13 +59,12 @@
|
||||
{% if author.isni_matches %}
|
||||
{% for isni_match in author.isni_matches %}
|
||||
<label class="label mt-2">
|
||||
<input type="radio" name="author_match-{{ counter }}" value="{{ isni_match.name }}" required>
|
||||
<input type="radio" name="author_match-{{ counter }}" value="isni_match_{{ isni_match.isni }}" required>
|
||||
{{ isni_match.name }}
|
||||
</label>
|
||||
<p class="help ml-5 mb-2">
|
||||
<a href="{{ match.uri }}" target="_blank">{{ isni_match.bio }}</a>
|
||||
<a href="{{ isni_match.uri }}" target="_blank">{{ isni_match.bio }}</a>
|
||||
</p>
|
||||
<input type="text" name="isni_match-{{ counter }}" value="{{ isni_match.isni }}" hidden>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for match in author.matches %}
|
||||
|
Reference in New Issue
Block a user