Skip to content

Commit

Permalink
Keep erblint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Jul 29, 2024
1 parent e4fd457 commit 7ea0773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/authorities/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
<table class="mt-8 text-xl text-navy">
<tbody>
<tr class="flex flex-col pb-4 sm:table-row">
<td class="pr-8 font-bold text-7xl"><%= @authority.applications.where("first_date_scraped >= ?", 1.week.ago).count %></td>
<td class="pr-8 font-bold text-7xl"><%= @authority.applications.where(first_date_scraped: 1.week.ago..).count %></td>
<th class="font-normal text-left">in the last week</th>
</tr>
<tr class="flex flex-col pb-4 sm:table-row">
<td class="pr-8 font-bold text-7xl"><%= @authority.applications.where("first_date_scraped >= ?", 1.month.ago).count %></td>
<td class="pr-8 font-bold text-7xl"><%= @authority.applications.where(first_date_scraped: 1.month.ago..).count %></td>
<th class="font-normal text-left">in the last month</th>
</tr>
<tr class="flex flex-col pb-4 sm:table-row">
Expand Down

0 comments on commit 7ea0773

Please sign in to comment.