{{if .IsEditRule}}{{ctx.Locale.Tr "packages.owner.settings.cleanuprules.edit"}}{{else}}{{ctx.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"}}

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

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