{ e.preventDefault(); save(); }} > {mode === "add" ? "Add money to" : "Remove money from"} {piggy.attributes.name} {#each open as link, i (link.id)}
{#if open.length > 1} {link.name} {/if} { fields[link.id] = node; if (i === 0) { node.focus(); } }} /> up to
{:else} {mode === "add" ? "You have no money to put in this piggy bank." : "There is no money in this piggy bank."} {/each} {#if open.length > 0} {/if}