{{define "condition"}}
Field/Condition:
Search:
Match mode
Remove condition
{{end -}}

{{with .sourcePostID -}} New filter from post /{{$.sourcePostBoard}}/{{$.sourcePostID}} {{- else -}} {{- if gt $.filter.ID 0}}Edit filter{{else}}New filter{{end -}} {{- end}}

{{- if gt $.filter.ID 0}}{{end -}} Filter conditions are checked against a post after the IP is checked against the ban list. The filter action will be executed only if all conditions are met. Tripcode searches do not include the prefix "!".
For information on the expected regular expression syntax, see here (mostly the same as most regular expression implementations with a few changes, e.g. no lookahead/lookbehind).
Conditions {{- with $.filterConditions -}} {{range $t,$condition := $.filterConditions -}} {{template "condition" map "conditionNo" (add $t 1) "condition" $condition "fields" $.fields "filter" $.filter}} {{end}} {{- else -}} {{template "condition" map "conditionNo" 1 "fields" $.fields}} {{- end -}}
Add condition
Action

Reason
Staff Note
Board(s): If no boards are selected, the filter will be applied to all boards
{{- range $_,$board := .allBoards -}} {{- end -}}
{{with $.cancelURL}}{{end}}

Filter list

For wordfilters go here.
Show only filters for:
{{- range $f, $filter := $.filters -}} {{$boardsCell := index $.filterTableBoards $f}} {{- end -}}
ActionsFilter actionConditionsBoardsStaff noteStaffIs activeLast modified
Edit | {{if $filter.IsActive}}Disable{{else}}Enable{{end}} | Hits ({{index $.filterHits $f}}) {{index $.actions $filter.MatchAction}} {{index $.conditions $f}} {{if eq $boardsCell ""}}all boards{{else}}{{$boardsCell}}{{end}} {{$filter.StaffNote}} {{index $.staff $f}} {{$filter.IsActive}} {{formatTimestamp $filter.IssuedAt}}