{{/* relation_remove_form is one /relations/remove POST: confirm text, ok label, button label, the type-specific hidden fields (dict), and an optional reload-on-success for the destructive variants. */}} {{define "relation_remove_form"}}
{{range $k, $v := .Fields}} {{end}}
{{end}} {{define "relations_browse.html"}} {{template "layout_head" .}} {{template "layout_mid" .}}
‹ Relations / Browse relations
{{if not .Cards}} {{if eq .Kind "not_related"}}

You haven't rejected any pairs yet - pairs you mark Not related during a session will appear here so the queue stops resurfacing them.

{{else}}

Nothing declared yet for this kind.

{{end}} {{else}}
0 selected {{if or (eq .Kind "duplicate") (eq .Kind "alternate")}} {{end}}
{{$pageBase := printf "/relations/browse?kind=%s&sort=%s" .Kind .Sort}} {{template "partials/pagination.html" (dict "Base" (printf "%s&page=" $pageBase) "Page" .Page "Total" .TotalPages)}} {{end}}

Merge same-image groups

Which group's original wins on the merged row?

{{template "layout_end" .}} {{end}}