diff --git a/resources/templates/form.tmpl b/resources/templates/form.tmpl index ac92e81..a9a3deb 100644 --- a/resources/templates/form.tmpl +++ b/resources/templates/form.tmpl @@ -34,6 +34,8 @@ for a in sorted(attributes.keys(), key=lambda attr: attributes[attr]['weight']): else: value = '' value2 = '' + if 'default' in attr and value == '': + value = ' value="'+ attr['default'] + '"' %> ${attr['display_name']}