add created at date to ammo types

This commit is contained in:
shibao 2022-05-05 21:43:49 -04:00
parent 6fe5a29ebd
commit 901c2a948f

View File

@ -87,6 +87,14 @@
<%= @ammo_type |> Ammo.get_used_count_for_ammo_type(@current_user) %>
</span>
<h3 class="title text-lg">
<%= gettext("Added on:") %>
</h3>
<span class="text-primary-600">
<%= @ammo_type.inserted_at |> display_datetime() %>
</span>
<%= if @avg_cost_per_round do %>
<h3 class="title text-lg">
<%= gettext("Average Price paid") %>: