diff --git a/resources/templates/searchadmin.tmpl b/resources/templates/searchadmin.tmpl index 0cf3db9..901562f 100644 --- a/resources/templates/searchadmin.tmpl +++ b/resources/templates/searchadmin.tmpl @@ -15,6 +15,7 @@ + % if not searchresult is None:
@@ -61,21 +62,9 @@ % endfor - - %for attr in attrs_list: - - ${attrs_list[attr]} - - % endfor - - Modify - - - Delete - -
+ %endif diff --git a/resources/templates/searchuser.tmpl b/resources/templates/searchuser.tmpl index f9f7129..db3612f 100644 --- a/resources/templates/searchuser.tmpl +++ b/resources/templates/searchuser.tmpl @@ -15,6 +15,7 @@ + % if not searchresult is None:
@@ -41,15 +42,9 @@ % endfor - - %for attr in attrs_list: - - ${attrs_list[attr]} - - % endfor -
+ %endif