{{define "content"}} {{$d := .}}

Import Transactions

{{if $d.Preview}}

Preview — {{$d.Preview.Total}} rows

{{range $i, $row := $d.Preview.Rows}} {{end}}
DateDescriptionAmountCategory
{{$row.Date}} {{$row.Description}} €{{cents $row.AmountCents}}
Cancel
{{else}}

Import Securities Trades

{{end}} {{if $d.Error}}
{{$d.Error}}
{{end}} {{end}}