% layout_id = "HTTP_ZUORA_LAYOUT_FETCH_TEMPLATE_ID" %>
<% ui_path = "HTTP_ZUORA_UI_PATH" %>
<% if request.headers[layout_id].present? || (!request.headers[ui_path].present? && !Rails.env.development?) %>
<%= yield %>
<% else %>
<%= yield %>
<% end %>