Replace manual activerecord translations with helpers
This commit is contained in:

committed by
Sebastian Serth

parent
e551c8a699
commit
f8330b39fb
@@ -9,7 +9,7 @@ h1
|
||||
= row(label: 'study_group.consumer', value: link_to_if(policy(@study_group).show?, @study_group.consumer, @study_group.consumer))
|
||||
= row(label: 'study_group.member_count', value: @study_group.user_count)
|
||||
|
||||
h2.mt-4 = t('activerecord.attributes.study_group.members')
|
||||
h2.mt-4 = StudyGroup.human_attribute_name('members')
|
||||
.table-responsive
|
||||
table.table class=(@study_group.users.present? ? 'sortable' : '')
|
||||
thead
|
||||
|
Reference in New Issue
Block a user