No commit activity in last 3 years
No release in over 3 years
This Widget gives you tabbed content boxes that can be filled with widgets.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

ScrivitoTabbedContentWidget

This gem adds a Scrivito widget for tabbed content to your page.

Prerequists

This widget requires Bootstrap.

Installation

Add this line to your application's Gemfile:

gem 'scrivito_tabbed_content_widget'

Customization

This widget includes an attribute for the background color of every tab. The value of this attribute is used as a CSS class. If you want to use this feature, add a CSS rule for your selectable colors:

.bg-red {
  background-color: red;
}

You can also use the Scrivito Advanced Editors color picker to have a better visualization of the selectable color classes.

Localization

The following code represents the default localization for English. Copy it to your en.yml and change it if necessary:

en:
  scrivito_tabbed_content_widget:
    thumbnail:
      title: Tab
      description: Add a tab to your page
    details:
      title: Title
      background_color: Background Color