{{response.title=base_title + ' Management: ' + T('Set prices')}} {{response.files.append(URL('static', 'OZSite/SET_PRICES.css'))}} {{extend 'layout.html'}} {{from OZfunc import fmt_pounds}}
| {{for r in previous_prices:}} | {{=fmt_pounds(pence=r.price)}} cutoff | {{pass}}
|---|---|
| upper popularity quantile cutoff | {{for r in previous_prices:}}{{=r.quantile}} | {{pass}}
| number of species | {{for r in previous_prices:}}{{=("{:,}" if r.n_leaves else "{}").format(r.n_leaves)}} | {{pass}}
| Band | Set upper popularity quantile (%) |
{{for i, field in enumerate(other_fields):}}
{{=field.name}} | {{pass}}||||
|---|---|---|---|---|---|---|
| {{=b}} (currently {{=fmt_pounds(pence=price)}}) | remainder | {{elif price is None:}}{{=b}} (currently {{=fmt_pounds(pence=price)}}) | {{=price}} | {{ else:}}{{=b}} (currently {{=fmt_pounds(pence=price)}}) | {{=form.custom.widget['_'.join(['quantile', b])]}} | {{ pass}} {{ for i, field in enumerate(other_fields):}}{{=form.custom.widget["_".join([field.name, b])]}} | {{ pass}} {{pass}}