Merge "Make UI forms data accessible using $forms variable"

This commit is contained in:
Jenkins 2017-07-10 12:01:26 +00:00 committed by Gerrit Code Review
commit 69a23fed3b
1 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,8 @@ class Service(object):
def extract_attributes(self):
context = self.context.create_child_context()
context['$'] = self.cleaned_data
context['$forms'] = self.cleaned_data
for name, template in six.iteritems(self.templates):
context[name] = template
if semantic_version.Version.coerce(self.spec_version) \