.col-md-6 .padding.need-item %h3=need.title.upcase %span .time= i(:"clock-o") + " Ajouté il y a #{time_ago_in_words(need.created_at)}" %p=truncate(need.description, length: 100) -if(need.customers.include?(current_customer)) =link_to i(:"hand-grab-o") + " Ça ne m'intéresse plus", wish_public_need_path(need) , :class => "btn btn-danger pull-right" -else =link_to i(:"hand-paper-o") + " Ça m'intéresse", wish_public_need_path(need) , :class => "btn btn-success pull-right" .clear