mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Re-order attributes on the page dashboard
This commit is contained in:
parent
81a2150cc1
commit
b9229626e2
@ -15,10 +15,10 @@ class PageDashboard < Administrate::BaseDashboard
|
|||||||
# which determines how the attribute is displayed
|
# which determines how the attribute is displayed
|
||||||
# on pages throughout the dashboard.
|
# on pages throughout the dashboard.
|
||||||
ATTRIBUTE_TYPES = {
|
ATTRIBUTE_TYPES = {
|
||||||
id: Field::Number,
|
|
||||||
name: Field::String,
|
|
||||||
title: Field::String,
|
title: Field::String,
|
||||||
content: Field::Markdown,
|
content: Field::Markdown,
|
||||||
|
id: Field::Number,
|
||||||
|
name: Field::String,
|
||||||
created_at: Field::DateTime,
|
created_at: Field::DateTime,
|
||||||
updated_at: Field::DateTime,
|
updated_at: Field::DateTime,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user