anchor.diff:                       notes = !default_image.notes || default_image.notes.blank? ? "" : default_image.notes
                        notes += "\n#{default_image.original_name}" if !default_image.original_name.blank? && \
                            (check_permission(default_image) || default_image.user && default_image.user.keep_filenames == :keep_and_show)
  -
                     %>
                     <%= thumbnail(default_image, notes: notes) %>
                   </div>
               <% end %>
  -
               <% @observation.images.each do |img| %>
                   <%
                      notes = !img.notes || img.notes.blank? ? "" : img.notes
                      notes += "\n#{img.original_name}" if !img.original_name.blank? && \
                            (check_permission(img) || img.user && img.user.keep_filenames == :keep_and_show)
  -
                   %>
                   <% if img != default_image %>
                       <div>
  
positive.code:       </div>
      </div>
    </div>
    <div class="row">
      <div class="col-xs-12">
        <div style="margin-left: 15px; margin-right: 15px;">
  
            <div class="slider responsive">
              <% unless default_image.nil? %>
                  <div>
  
negative.code:    has_images = !@observation.images.nil? && @observation.images.any?
  %>
  
  <% if has_images || check_permission(@observation) %>
    <div class="row">
      <div class="col-sm-4">
        <%= content_tag(:h4, :IMAGES.t, style: "margin-top: 0") %>
  