Client zone

Contact us


Error !

AttributeError: 'NoneType' object has no attribute 'items'

<td> <select id="${source.ctx_key}_message_type" name="${source.ctx_key}[message_type]" class="wide"> <option>--</option> % for name, title in source.form_data.message_types.items(): <option value="${name}">${title}</option> % endfor </select> </td> </tr>
/opt/vnetzone/venv/lib/python2.7/site-packages/vnetzone/templates/components/contact_form.html, line 15:
% for name, title in source.form_data.message_types.items():
/opt/vnetzone/venv/lib/python2.7/site-packages/mako/runtime.py, line 899:
callable_(context, *args, **kwargs)
/opt/vnetzone/venv/lib/python2.7/site-packages/mako/runtime.py, line 873:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/opt/vnetzone/venv/lib/python2.7/site-packages/mako/runtime.py, line 838:
**_kwargs_for_callable(callable_, data))
/opt/vnetzone/venv/lib/python2.7/site-packages/mako/template.py, line 462:
return runtime._render(self, self.callable_, args, data)
/opt/vnetzone/venv/lib/python2.7/site-packages/butterpy/renderer.py, line 148:
return self.lookup.get_template(tpl_file).render(**context)