We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 753d634 commit d7b36cfCopy full SHA for d7b36cf
1 file changed
app/dashboards/school_dashboard.rb
@@ -11,6 +11,7 @@ class SchoolDashboard < Administrate::BaseDashboard
11
# on pages throughout the dashboard.
12
ATTRIBUTE_TYPES = {
13
id: Field::String,
14
+ code: Field::String,
15
creator: Field::BelongsTo.with_options(class_name: 'User'),
16
postal_code: Field::String,
17
creator_role: Field::String,
@@ -44,6 +45,7 @@ class SchoolDashboard < Administrate::BaseDashboard
44
45
# Feel free to add, remove, or rearrange items.
46
COLLECTION_ATTRIBUTES = %i[
47
name
48
+ code
49
user_origin
50
reference
51
country_code
@@ -58,6 +60,7 @@ class SchoolDashboard < Administrate::BaseDashboard
58
60
# an array of attributes that will be displayed on the model's show page.
59
61
SHOW_PAGE_ATTRIBUTES = %i[
62
63
64
65
creator
66
roles
0 commit comments