Created by: gracewashere
Changes:
- [#573] [FEATURE] 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] [FEATURE] 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] [FEATURE] 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