cards.html
$def with (cards, render_dict) $var breadcrumbs = ("pub", "Content") $var title: Cards <form action=/pub method=post> <input type=hidden name=h value=card> <div><label>Nickname <input name=nickname[]></label></div> <button>Add</button> </form> <ul> $for c in cards: $ r = c["resource"] <li> <p><a href=/pub/cards/$r["nickname"][0]>$r["nickname"][0]</a> <small>$c["version"]</small></p> $:render_dict(r) </li> </ul> |