1
0
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:
Daniel Barber 2015-10-23 17:51:40 +01:00
parent 81a2150cc1
commit b9229626e2

View File

@ -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,
} }