- Timestamp:
- 22 Jan 2014, 18:06:17 (11 years ago)
- Location:
- main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/usereditformpage.pt
r8486 r10956 9 9 <td i18n:translate="" class="fieldname">Password:</td> 10 10 <td> 11 <input name="password" type="password" />11 <input class="form-control" name="password" type="password" /> 12 12 </td> 13 13 </tr> … … 15 15 <td i18n:translate="" class="fieldname">Retype Password:</td> 16 16 <td> 17 <input name="control_password" type="password" />17 <input class="form-control" name="control_password" type="password" /> 18 18 </td> 19 19 </tr> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/widgets/phonewidget.py
r8937 r10956 37 37 38 38 subwidget_names = ('country', 'area', 'ext') 39 bootstrap_span = 'span2'39 cssClass = 'phone-input' 40 40 41 41 def _renderPrefixWidget(self, value): … … 51 51 '<option value="%s"%s>%s</option>' % (pval, selected, ptitle)) 52 52 options = '\n'.join(options) 53 return '<select id="%s" name="%s" size="1" class=" span4">\n%s\n</select>' % (53 return '<select id="%s" name="%s" size="1" class="%s">\n%s\n</select>' % ( 54 54 '%s.%s' % (self.name, 'country'), 55 55 '%s.%s' % (self.name, 'country'), 56 self.cssClass, 56 57 options) 57 58 … … 83 84 kwargs.update(name = '%s.%s' % (self.name, subname)) 84 85 kwargs.update(id=kwargs['name']) 85 # kwargs.update(cssClass = '%s %s' % (self.cssClass, 'span1')) 86 kwargs.update(cssClass = '%s %s' % ('', self.bootstrap_span)) 86 kwargs.update(cssClass = '%s %s' % ('', self.cssClass)) 87 87 kwargs.update(value = subvalues[num]) 88 88 fields.append(renderElement(self.tag, **kwargs))
Note: See TracChangeset for help on using the changeset viewer.