Skip to content

0.2.1

Compare
Choose a tag to compare
@c-lliope c-lliope released this 18 May 22:07
· 1291 commits to main since this release

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