Fix haml-lint Rubocop Rails/*
cops (#26042)
This commit is contained in:
parent
8bb4706e11
commit
e715da6d25
12 changed files with 29 additions and 18 deletions
|
@ -72,7 +72,7 @@
|
|||
.dashboard__counters__label= t 'admin.accounts.login_status'
|
||||
|
||||
- if @account.local? && @account.user.nil?
|
||||
= link_to t('admin.accounts.unblock_email'), unblock_email_admin_account_path(@account.id), method: :post, class: 'button' if can?(:unblock_email, @account) && CanonicalEmailBlock.where(reference_account_id: @account.id).exists?
|
||||
= link_to t('admin.accounts.unblock_email'), unblock_email_admin_account_path(@account.id), method: :post, class: 'button' if can?(:unblock_email, @account) && CanonicalEmailBlock.exists?(reference_account_id: @account.id)
|
||||
- else
|
||||
.table-wrapper
|
||||
%table.table.inline-table
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue