{{if .IsEditRule}}{{ctx.Locale.Tr "packages.owner.settings.cleanuprules.edit"}}{{else}}{{.locale.Tr "packages.owner.settings.cleanuprules.add"}}{{end}}

{{.CsrfTokenHtml}}

{{ctx.Locale.Tr "packages.owner.settings.cleanuprules.keep.title"}}

{{ctx.Locale.Tr "packages.owner.settings.cleanuprules.keep.pattern.container" | Safe}}

{{ctx.Locale.Tr "packages.owner.settings.cleanuprules.remove.title"}}

{{if .IsEditRule}} {{ctx.Locale.Tr "packages.owner.settings.cleanuprules.preview"}} {{else}} {{end}}