~unifield-team/unifield-web/trunk

« back to all changes in this revision

Viewing changes to openobject/widgets/_widgets.py

  • Committer: jf
  • Date: 2016-08-23 11:54:24 UTC
  • mfrom: (4794.6.5 web-us-1519)
  • Revision ID: jfb@tempo-consulting.fr-20160823115424-oiz4dm2jxia4b09h
US-1519 [IMP] Prevent browser to save password

lp:~jfb-tempo-consulting/unifield-web/us-1519

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
 
227
227
    template = "/openobject/widgets/templates/form.mako"
228
228
 
229
 
    params = ['action', 'method', 'submit_text']
 
229
    params = ['action', 'method', 'submit_text', 'replace_password_fields']
230
230
    member_widgets = ['hidden_fields', 'fields']
231
231
 
232
232
    hidden_fields = []
236
236
    submit_text = "Submit"
237
237
    form_attrs = {}
238
238
    form = True
 
239
    replace_password_fields = {}
239
240
 
240
241
    def __init__(self, name=None, **params):
241
242
        super(Form, self).__init__(name, **params)