Hello everyone,
i am trying to find out how to put more Fields in one row inside one Tab (Admin UI). I have a page class that holds latitude and longitude data and would like to display both fields in one row. Any suggestions on that?
cheers
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hello everyone,
i am trying to find out how to put more Fields in one row inside one Tab (Admin UI). I have a page class that holds latitude and longitude data and would like to display both fields in one row. Any suggestions on that?
cheers
You can use a CompositeField to group form fields. Then you'll have to use a bit of custom CSS to align the fields within the composite field. http://api.silverstripe.org/2.4/forms/fields-structural/CompositeField.html
Ah, that's what I can use a CompositeField for. Thanks, works great :)