Sha256: 9079cfa263a6197a0f5030db862e01a619d6cd271691357a0ccefc9be4c697da
Contents?: true
Size: 1.14 KB
Versions: 4
Compression:
Stored size: 1.14 KB
Contents
Description: Allows you to override the default views for all bootstrap_admin actions, either globally or resource specific. If you choose to override globally, then all views for all resources will be overridden. If you choose to override for a specific resource, then your overrides will only affect that resources' views. Example: $ rails g bootstrap_admin:override_views defaults This will: 1) Create app/views/admin/defaults folder 2) Copy all of bootstrap_admin default views to that folder for you to tweak From there on, all resources will use these views. $ rails g bootstrap_admin:override_views defaults index new This will: 1) Create app/views/admin/defaults folder 2) Copy all index and new related views to that folder for you to tweak From there on, all resources will use these views to render index or new actions. $ rails g bootstrap_admin:override_views books This will: 1) Create app/views/admin/books folder (if it doesn't exist already) 2) Copy all of bootstrap_admin default views to that folder for you to tweak From there on, only book resources will use these views.
Version data entries
4 entries across 4 versions & 1 rubygems