.img_link_portlet

  - if input.cible
    -url = input.cible.cible_url
    
    .image_file
      =link_to image_tag(input.image_file.file.square.url), url if input.image_file

    .title
      %h3=link_to input.title, url
    .description
      = link_to simple_format(input.description), url
    .clear
    
    
  -else


    .image_file
      =image_tag(input.image_file.file.square.url) if input.image_file

    .title
      %h3=input.title
    .description
      = simple_format(input.description)
    .clear

