anchor.diff:  
       <% if element.image.file? %>
         <div class="card-image"><%= link_to element.image.url do %>
  -          <%= image_tag element.image.url %>
  -        <% end %></div>
  +          <%= image_tag element.image.url %> </div>
  +        <% end %>
   
         <% if element.element_link.empty?%>
         <% else %>
  
positive.code:           <a href="<%=element.element_link%>" target="_blank"></a>
          <% end %>
          <% end %>
          <div class="description"><%= element.description %></div>
  
      <%elsif element.audio.file? %>
         <div class="card-image"><%= link_to element.audio.url do %>
            <%= image_tag ("musiclogo.png") %>
          <% end %></div>
  
          <% if element.element_link.empty?%>
          <% else %>
  
negative.code:           <a href="<%=element.element_link%>" target="_blank"></a>
          <% end %>
          <% end %>
          <div class="title"><%= element.title %></div>
          <div class="description"><%= element.description %></div>
        </div>
  
  
        <% elsif element.element_link && !element.image? && !element.document? && !element.audio?  %>
          <div class="card-image">
            <%#=# link_to element.element_link do %>
              <%= image_tag ("internet-globe.jpg") %></div>
            <%# end %>
            <% if element.element_link.empty?%>
            <% else %>
                <%= link_to element.element_link, class: 'right' do %>
                  <i class="material-icons">link</i>
                  <a href="<%=element.element_link%>" target="_blank"></a>
                <% end %>
            <% end %>
                <div class="title"><%= element.title %></div>
                <div class="description"><%= element.description %></div>
  
  
  
        <%# elsif element.element_link.empty? && !element.image? && !element.document? && !element.audio?  %>
          <% else %>
            <div class="card-image">
              <%#= image_tag ("pencil.png") %>
              <div class="title"><%= element.title %></div>
              <div class="description"><%= element.description %></div>
            </div>
  
  
      <% end %>
  
  
  </div>