% if turbo_frame_request? %>
<% if local_assigns[:title] %>
<%= local_assigns[:title] %>
×
<% end %>
<%= yield %>
<% elsif turbo_native_app? %>
<% content_for(:native_title, local_assigns[:title]) if local_assigns[:title] %>
<%= yield %>
<% else %>
<% if local_assigns[:title] %>
<%= local_assigns[:title] %>
×
<% end %>
<%= yield %>
<% end %>