demarches-normaliennes/app/dashboards/dubious_procedure_dashboard.rb
2022-05-25 14:44:53 +02:00

12 lines
366 B
Ruby

require "administrate/base_dashboard"
class DubiousProcedureDashboard < Administrate::BaseDashboard
ATTRIBUTE_TYPES = {
id: Field::Number,
libelle: Field::String,
dubious_champs: Field::String,
aasm_state: Field::String
}.freeze
COLLECTION_ATTRIBUTES = [:id, :libelle, :dubious_champs, :aasm_state].freeze
COLLECTION_FILTERS = {}.freeze
end