Modifies how boolean values are displayed in index view
id | name | paid | subscribed |
---|---|---|---|
123 | Felipe | ✗ | ✔ |
You just need to use bool_column method
index do
column :id
column :name
bool_column :paid
bool_column :subscribed
end
- true: ✔
- false: ✗
en:
activeadmin:
addons:
boolean:
default:
true_value: ok
false_value: nope
en:
activeadmin:
addons:
boolean:
models:
invoice:
true_value: pagada
false_value: no pagada
en:
activeadmin:
addons:
boolean:
models:
invoice:
paid:
true_value: pagada
false_value: no pagada