remove option for branding to sometimes not show search

it wouldn't show search if there were under a certain amount of letter
or email branding options - however we know there will always be more
than that amount so lets remove some complexity.

Also, rename the SearchTemplatesForm because it can search anything -
it just prompts you to search by name is all.
This commit is contained in:
Leo Hemsted
2019-02-06 17:32:13 +00:00
parent 7590b3dba9
commit f83910599c
10 changed files with 16 additions and 72 deletions

View File

@@ -960,7 +960,7 @@ class ChooseTemplateType(StripWhitespaceForm):
])
class SearchTemplatesForm(StripWhitespaceForm):
class SearchByNameForm(StripWhitespaceForm):
search = SearchField('Search by name')