From 7a4536b10ff799cb49ca743183c790f43efc3dc7 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Wed, 29 May 2024 01:58:03 +0000 Subject: [PATCH] Make more similar to design https://www.bugherd.com/t/RyfLnQ8H5JBKbrveOl9Qww --- app/views/_tailwind/applications/_address_search.html.erb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/views/_tailwind/applications/_address_search.html.erb b/app/views/_tailwind/applications/_address_search.html.erb index f86602a30..26a62b8dc 100644 --- a/app/views/_tailwind/applications/_address_search.html.erb +++ b/app/views/_tailwind/applications/_address_search.html.erb @@ -24,13 +24,11 @@
  • <%= image_tag "tailwind/clock.svg", class: "mt-1", alt: "" %> <%= render Tailwind::LinkBlock.new(url: application_path(application)) do |c| %> + <%# TODO: Extract this piece below as a partial %>
    <%= c.linkify application.address %>
    -

    - <%= time_ago_in_words(application.first_date_scraped) %> ago -

    - <%# TODO: Limit length of description %> -

    <%= application.description %>

    +
    <%= application.description %>
    +
    Found <%= time_ago_in_words(application.first_date_scraped) %> ago
    <% end %>