Scripts tagged with widget

1-2 of 2.

create a widget in init forms

to forms widget by kere , 0 comments

1 3 5 6 7 ...
  class selectHomeForm(forms.Form):
    title = forms.CharField(max_length=50, label = 'Select homes:')  
    def __init__ (self, *args, **kwargs):
        super(selectHomeForm, self).__init__(*args, **kwargs)
        homes =  homeMap.objects.all()

template for z3c.form PasswordWidget with javascript confirmation

to zope3 z3c.form javascript password widget confirmation by anonymous , 0 comments

1 2 3 5 6 ...
<tal:block tal:define="diffpw   string:You did not type the same password;
                       ok       string:ok;
                       notequal string:not equal;">
<input type="password" id="" name="" class="" title="" lang="" disabled=""
       readonly="" alt="" tabindex="" accesskey="" size="" maxlength=""