<% if field['type'].in?(['signature', 'image', 'initials']) %>
     <% elsif field['type'] == 'file' %>
    
    
  <% elsif field['type'] == 'checkbox' %>
  <% elsif field['type'] == 'file' %>
    
    
  <% elsif field['type'] == 'checkbox' %>
    
      <%= svg_icon('check', class: "aspect-square #{area['w'] > area['h'] ? '!w-auto !h-full' : '!w-full !h-auto'}") %>
    
  <% elsif field['type'].in?(%w[multiple radio]) && area['option_uuid'] %>
    <% option = field['options']&.find { |o| o['uuid'] == area['option_uuid'] } %>
    <% if option && Array.wrap(value).include?(option['value']) %>
      
        <%= svg_icon('check', class: "aspect-square #{area['w'] > area['h'] ? '!w-auto !h-full' : '!w-full !h-auto'}") %>
      
    <% end %>
  <% elsif field['type'] == 'cells' %>
    <% cell_width = area['cell_w'] / area['w'] * 100 %>
    
      <% (0..(area['w'] / area['cell_w']).ceil).each do |index| %>
        <% if value[index] %>
          
<%= value[index] %>
        <% end %>
      <% end %>
    
      <%= l(Date.parse(value), format: :long, locale: local_assigns[:locale]) %>
    
  <% else %>
    
    <%= Array.wrap(value).join(', ') %>
  <% end %>