response.form_label_separator

This commit is contained in:
mdipierro
2014-08-14 19:12:47 -05:00
parent 7de0861fb5
commit 65ab4b8550
3 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
Version 2.10.0-trunk+timestamp.2014.08.14.19.10.27
Version 2.10.0-trunk+timestamp.2014.08.14.19.12.21

View File

@@ -392,7 +392,7 @@ class Response(Storage):
self.generic_patterns = ['*']
self.delimiters = ('{{','}}')
self.formstyle = 'table2cols'
self.label_separator = ': '
self.form_label_separator = ': '
def write(self, data, escape=True):
if not escape:

View File

@@ -1078,7 +1078,7 @@ class SQLFORM(FORM):
else:
self.id_field_name = table._primarykey[0] # only works if one key
sep = separator or current.response.label_separator
sep = separator or current.response.form_label_separator
extra_fields = extra_fields or []
self.extra_fields = {}