Replace manual activerecord translations with helpers

This commit is contained in:
Sebastian Serth
2024-04-14 14:00:51 +02:00
committed by Sebastian Serth
parent e551c8a699
commit f8330b39fb
72 changed files with 265 additions and 264 deletions

View File

@@ -1,10 +1,10 @@
h1 = Consumer.model_name.human(count: 2)
h1 = Consumer.model_name.human(count: :other)
.table-responsive
table.table
thead
tr
th = t('activerecord.attributes.consumer.name')
th = Consumer.human_attribute_name('name')
th colspan=3 = t('shared.actions')
tbody
- @consumers.each do |consumer|