_compact_profile.html.erb 241 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 <% filter_label = profile.send(@filter + '_label') %> <% filter_label += show_date(profile.created_at) if @filter == 'more_recent' %> <li class="search-profile-item"> <%= profile_image_link profile, :portrait, 'div', filter_label %> </li>