Add creation date to alt styles listings

Copied from how pet types do it!
This commit is contained in:
Emi Matchu 2024-10-22 16:46:55 -07:00
parent 29aa769bda
commit 930bfca028

View file

@ -3,4 +3,10 @@
= image_tag alt_style.preview_image_url, class: "preview", loading: "lazy" = image_tag alt_style.preview_image_url, class: "preview", loading: "lazy"
.name .name
%span= alt_style.series_name %span= alt_style.series_name
%span= alt_style.pet_name %span= alt_style.pet_name
.info
%p
Added
= time_tag alt_style.created_at,
title: alt_style.created_at.to_formatted_s(:long_nst) do
= time_with_only_month_if_old alt_style.created_at