Check for `template` and `data` in cleaned_data before accessing them.
Check for `template` and `data` in cleaned_data before accessing them.

mozilla/snippets-service,glogiotatidis/snippets-service,mozmar/snippets-service,glogiotatidis/snippets-service,mozmar/snippets-service,mozilla/snippets-service,mozilla/snippets-service,mozmar/snippets-service,mozmar/snippets-service,glogiotatidis/snippets-service,glogiotatidis/snippets-service,mozilla/snippets-service