<%= render layout: "shared/model_show" do %>

  <%= attribute_table_row_reference(t("myplaceonline.trips.location"), "location_path", @obj.location) %>
  <%= attribute_table_row_date(t("myplaceonline.trips.started"), @obj.started) %>
  <%= attribute_table_row_date(t("myplaceonline.trips.ended"), @obj.ended) %>
  <%= attribute_table_row_markdown(t("myplaceonline.trips.notes"), @obj.notes) %>
  <%= attribute_table_row_boolean(t("myplaceonline.trips.work"), !@obj.work.nil?) %>
  <% @obj.trip_pictures.each do |pic| %>
    <%= table_row_heading(t("myplaceonline.trips.picture")) %>
    <% if !pic.identity_file.nil? && !pic.identity_file.file_content_type.nil? && (pic.identity_file.file_content_type.start_with?("image")) %>
      <%= attribute_table_row_image(t("myplaceonline.trips.picture"), file_view_path(pic.identity_file)) %>
    <% end %>
  <% end %>
  
<% end %>

<%= render layout: "shared/model_show" do %>

  <%= attribute_table_row_reference(t("myplaceonline.trips.location"), "location_path", @obj.location) %>
  <%= attribute_table_row_date(t("myplaceonline.trips.started"), @obj.started) %>
  <%= attribute_table_row_date(t("myplaceonline.trips.ended"), @obj.ended) %>
  <%= attribute_table_row_markdown(t("myplaceonline.trips.notes"), @obj.notes) %>
  <%= attribute_table_row_boolean(t("myplaceonline.trips.work"), @obj.work) %>
  <% @obj.trip_pictures.each do |pic| %>
    <%= table_row_heading(t("myplaceonline.trips.picture")) %>
    <% if !pic.identity_file.nil? && !pic.identity_file.file_content_type.nil? && (pic.identity_file.file_content_type.start_with?("image")) %>
      <%= attribute_table_row_image(t("myplaceonline.trips.picture"), file_view_path(pic.identity_file)) %>
    <% end %>
  <% end %>
  
<% end %>

Fix how work boolean is shown for trips
Fix how work boolean is shown for trips
