$def with (d, matches)
$# :param web.Storage d: form data
$# :param list matches:
$var title: $_("Add a book")
$_("Add a Book")
$:_("One moment... It looks like we already have some potential matches for %(title)s by %(author)s.", title=d.title, author=d.author_names[0])
$_("Rather than creating a duplicate record, please click through the result you think best matches your book.")
$for work in matches:
-
$_('by')
$for a in work.authors:
$a.name$cond(not loop.last, ',')
$ungettext('1 edition', '%(count)s editions', work.edition_count, count=commify(work.edition_count))
$if work.first_publish_year:
• $_('First published in %(year)d', year=work.first_publish_year)
None of these match the book I want to add. Continue.