diff --git a/paramecio/citoplasma/lists.py b/paramecio/citoplasma/lists.py index 7f23d3a..b892f5f 100644 --- a/paramecio/citoplasma/lists.py +++ b/paramecio/citoplasma/lists.py @@ -15,9 +15,9 @@ class SimpleList: self.model=model - if len(self.model.forms)==0: + #if len(self.model.forms)==0: - self.model.create_forms() + #self.model.create_forms() self.fields=model.fields.keys() diff --git a/paramecio/citoplasma/templates/utils/list.phtml b/paramecio/citoplasma/templates/utils/list.phtml index 50c9b48..5c61a4a 100644 --- a/paramecio/citoplasma/templates/utils/list.phtml +++ b/paramecio/citoplasma/templates/utils/list.phtml @@ -4,9 +4,9 @@ {% endset %} {{ header_js_list|add_header_home() }}--> -<%def name="select_field()"> +<%def name="select_field(field)"> % if simplelist.search_field==field: - selected + selected \ % endif %def> <%def name="set_css_arrow(simplelist, field)"> @@ -16,11 +16,11 @@ %def> % if simplelist.yes_search: