podemos-info/census

View on GitHub
app/views/admins/_show.arb

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

context.instance_eval do
  panel title do
    changes_table_for(resource, changes: local_assigns[:changes]) do
      chrow :person, change_field: :person_id
      chrow :username
      chrow :role
      chrow :failed_attempts
      chrow :locked_at
      chrow :created_at
    end
  end
end