New Features
- [#573] Render custom javascripts and stylesheets to the page
by registering them with Administrate in an initializer.
For example, you can create
config/initializers/administrate.rb
with the contents:Administrate::Engine.add_javascript "my_plugin/script" Administrate::Engine.add_stylesheet "my_plugin/styles"
- [#567] Add a partial for rendering HTML links to stylesheets.
This is useful for plugin developers,
as well as people who want to add custom stylesheets on a page-by-page basis
using
content_for(:stylesheet)
. - [#492] Translate attribute labels on show and index pages.
To customize an attribute label, add translations according to the structure:
en: helpers: label: customer: name: Full Name