code: def init_form_view(self, view, opts):
          
          name = opts.get("name", opts.get("form"))
          if isinstance(name, Form):
              return
  
          template = opts.get("template", getattr(view, "template", None))
          if not template:
              if not name:
                  raise NoFormError("No form name specified in the form action and no template")
              return
  
          try:
              as_ = opts.get("var_name", getattr(self.form, "as_", "form"))
              form_class = create_from_template(current_app, template, var_name=as_)
          except NoFormError:
              if not name:
                  raise
              return
  
          if not name:
              name = view.name
  
          self.forms[name] = form_class
          self.form_created_from_view_signal.send(self, view=view, form_class=form_class)
          return form_class
docs: Checks if the form referenced in the view exists or attempts to
          create it by parsing the template