$def with (work)
$_("If there are particular (short) passages you feel represent the book well, please feel free to transcribe them here.")
$_("For example:") 23, xi or 433-434
$_('This is the first sentence.')
$_("Maximum length is 2000 characters. No HTML allowed.") 2000
$_("Add an optional note.")

$_("Excerpts so far...")

$for i, excerpt in enumerate(work.excerpts):
[x]
$for line in excerpt.excerpt.split('\n'): $line

$if excerpt.pages: $_("From page") $excerpt.pages. $if excerpt.author: $excerpt.author.displayname $_("noted:") $else: $_("An anonymous note:") "$excerpt.comment"