[%- IF view.data._embedded %]
  [%- IF view.data._embedded.form %]
    [%- INCLUDE form.tt form = view.data._embedded.form %]
  [%- ELSIF view.data._embedded.errors %]
    [%- INCLUDE error.tt errors = view.data._embedded.errors %]
  [%- ELSE %]
    [%- INCLUDE display.tt data = view.data._embedded %]
  [% END -%]
[% END -%]
