Lint Slim files and fix offenses
The fixing was partially done manually and partially automatically.
This commit is contained in:

committed by
Dominic Sauer

parent
ddfa06ffaa
commit
9a9efd5caa
@@ -6,7 +6,7 @@
|
||||
|
||||
h3 = t('activerecord.attributes.study_group.members')
|
||||
.table-responsive
|
||||
table.table class="#{@members.present? ? 'sortable' : ''}"
|
||||
table.table class=(@members.present? ? 'sortable' : '')
|
||||
thead
|
||||
tr
|
||||
th = t('activerecord.attributes.exercise.selection')
|
||||
@@ -16,4 +16,4 @@
|
||||
td = b.check_box class: 'form-check-input'
|
||||
td = link_to_if(policy(b.object.user).show?, b.object.user.displayname, b.object.user)
|
||||
|
||||
.actions = render('shared/submit_button', f: f, object: @study_group)
|
||||
.actions = render('shared/submit_button', f:, object: @study_group)
|
||||
|
@@ -9,13 +9,12 @@ 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')
|
||||
.table-responsive
|
||||
table.table class="#{@study_group.users.present? ? 'sortable' : ''}"
|
||||
table.table class=(@study_group.users.present? ? 'sortable' : '')
|
||||
thead
|
||||
tr
|
||||
th = t('navigation.sections.users')
|
||||
th = t('navigation.sections.users')
|
||||
- @study_group.users.each do |user|
|
||||
tr
|
||||
td = link_to_if(policy(user).show?, user.displayname, user)
|
||||
|
Reference in New Issue
Block a user