A theme for Active Admin based on Materialize framework.
- Add to the Gemfile:
gem 'activeadmin_materialize_theme'
(and executebundle
) - In app/assets/stylesheets/active_admin.scss) leave only this import line:
@import 'activeadmin_materialize_theme/theme';
- (optionally) Enable Roboto font:
@import 'activeadmin_materialize_theme/roboto';
- Add at the end of your Active Admin javascripts (app/assets/javascripts/active_admin.js):
//= require activeadmin_materialize_theme
Index page (with scopes and filters):
Edit page (with a nested form):
If you use this component just star it. A developer is more motivated to improve a project when there is some interest.
Take a look at other Active Admin components if you are curious.
- Mattia Roccoberton: author
The gem is available as open source under the terms of the MIT License.