[% allow_creation = (!c.cobrand.only_authed_can_create || (c.user && c.user.from_body)) AND NOT c.cobrand.updates_disallowed(problem) %]
[% RETURN IF NOT allow_creation %]
[% IF NOT login_success AND NOT oauth_need_email %]
[% TRY %]
[% INCLUDE 'report/_update-form-heading.html' %]
[% CATCH file %]
[% loc( 'Provide an update') %]
[% END %]
[% IF c.cobrand.moniker != 'stevenage' %]