Modern and responsive theme for Active Admin used by Formaweb.
Please make sure that you are using Active Admin:
gem 'activeadmin'
Add this gem in your Gemfile
:
gem 'formadmin'
So, bundle...
$ bundle install
All you have to do is change your assets/stylesheets/active_admin.scss
:
Remove the loading defaults...
@import 'active_admin/mixins';
@import 'active_admin/base';
Replace with Formadmin:
@import 'formadmin/formadmin';
You can override the default colors (as defined in app/assets/stylesheets/formadmin/core/_settings.scss
) by setting the color variable in your assets/stylesheets/active_admin.scss
before formadmin
is loaded.
For example, to change the primary color, use:
$primary-color: #c0ffee;
@import 'formadmin/formadmin';
- Fork it ( https://github.com/formaweb/formadmin/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am "Add some feature"
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
All you need to do is set the local path on your project Gemfile
, like this:
gem 'formadmin', path: '/path/to/formadmin'