Add creation date to alt styles listings
Copied from how pet types do it!
This commit is contained in:
parent
29aa769bda
commit
930bfca028
1 changed files with 7 additions and 1 deletions
|
@ -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
|
Loading…
Reference in a new issue