$ config = ({'Please select an identifier.': _('Please select an identifier.'), 'You need to give a value to ID.': _('You need to give a value to ID.'), 'ID ids cannot contain whitespace.': _('ID ids cannot contain whitespace.'), 'ID must be exactly 10 characters [0-9] or X.': _('ID must be exactly 10 characters [0-9] or X.'), 'ID must be exactly 13 digits [0-9]. For example: 978-1-56619-909-4': _('ID must be exactly 13 digits [0-9]. For example: 978-1-56619-909-4')})
$_("Like, ISBN?")
{{\$("#select-id").find("option[value=" + name + "]").html()}}
$for i, id in enumerate(book.get_identifiers().values()):
$id_labels.get(id.name, id.name)
$id.value
$# Disable removing ocaid for regular users.
$ admin_user = ctx.user and (ctx.user.is_admin() or ctx.user.is_librarian())
$if id.name == "ocaid" and not admin_user: