diff options
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/forms_common.py | 5 | ||||
| -rw-r--r-- | ishtar_common/templates/ishtar/wizard/default_wizard.html | 2 | 
2 files changed, 4 insertions, 3 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index 73971adaf..dc18a2108 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -426,6 +426,7 @@ class PersonSelect(TableSelect):  class PersonFormSelection(forms.Form): +    SEARCH_AND_SELECT = True      form_label = _(u"Person search")      associated_models = {'pk': models.Person}      currents = {'pk': models.Person} @@ -521,7 +522,7 @@ class PersonUserSelect(PersonSelect):  class PersonUserFormSelection(PersonFormSelection): -    SEARCH = True +    SEARCH_AND_SELECT = True      form_label = _(u"Person search")      associated_models = {'pk': models.Person}      currents = {'pk': models.Person} @@ -552,7 +553,7 @@ class IshtarUserSelect(TableSelect):  class AccountFormSelection(forms.Form): -    SEARCH = True +    SEARCH_AND_SELECT = True      form_label = _(u"Account search")      associated_models = {'pk': models.IshtarUser}      currents = {'pk': models.IshtarUser} diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html index 6c9193966..144323854 100644 --- a/ishtar_common/templates/ishtar/wizard/default_wizard.html +++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html @@ -39,7 +39,7 @@  {% block "footer" %}    <div id="footer">    {% block "validation_bar" %} -    {% if wizard.form.SEARCH %} +    {% if wizard.form.SEARCH_AND_SELECT %}      <p class="confirm-message">{% trans "Search and select an item in the table" %}</p>      {% endif %}    {% include 'ishtar/wizard/validation_bar.html' %}  | 
