1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-28 23:40:41 +02:00

Flextype Core: blog fieldset - fixes and refactoring #117

This commit is contained in:
Awilum
2019-06-09 01:12:41 +03:00
parent 87d0255335
commit 1f9fe7d1fe

View File

@@ -1,57 +1,57 @@
{
"title": "Blog",
"default_field": "title",
"sections": {
"main": {
"title": "Main",
"fields": {
"title": {
"title": "admin_title",
"type": "text",
"size": "col-12"
}
}
},
"seo": {
"title": "Seo",
"fields": {
"description": {
"title": "admin_description",
"type": "textarea",
"size": "col-12"
}
}
},
"menu": {
"title": "Menu",
"fields": {
"menu_item_title": {
"title": "admin_menu_item_title",
"type": "text",
"size": "col-4"
},
"menu_item_url": {
"title": "admin_menu_item_url",
"type": "text",
"size": "col-4"
},
"menu_item_target": {
"title": "admin_menu_item_target",
"type": "select",
"options": {
"blank": "_blank",
"self": "_self",
"parent": "_parent",
"top": "_top"
},
"size": "col-4"
},
"menu_item_order": {
"title": "admin_menu_item_order",
"type": "text",
"size": "col-4"
}
}
}
}
}
{
"title": "Blog",
"default_field": "title",
"sections": {
"main": {
"title": "Main",
"fields": {
"title": {
"title": "admin_title",
"type": "text",
"size": "col-12"
}
}
},
"seo": {
"title": "Seo",
"fields": {
"description": {
"title": "admin_description",
"type": "textarea",
"size": "col-12"
}
}
},
"menu": {
"title": "Menu",
"fields": {
"menu_item_title": {
"title": "admin_menu_item_title",
"type": "text",
"size": "col-4"
},
"menu_item_url": {
"title": "admin_menu_item_url",
"type": "text",
"size": "col-4"
},
"menu_item_target": {
"title": "admin_menu_item_target",
"type": "select",
"options": {
"self": "_self",
"blank": "_blank",
"parent": "_parent",
"top": "_top"
},
"size": "col-4"
},
"menu_item_order": {
"title": "admin_menu_item_order",
"type": "text",
"size": "col-4"
}
}
}
}
}