ScrivitoTwoColumnWidget
This gem adds a Scrivito widget for dividing pages and page sections into two columns to your app.
Prerequisites
Requires Bootstrap in your Rails App.
Installation
Add this line to your application's Gemfile:
gem 'scrivito_two_column_widget'
Add this line to your application stylesheet manifest:
*= require scrivito_two_column_widget
Customization
We recommend to use Scrivito Advanced Editors which provides nicer controls.
Localization
The following code represents the default localization for English. Copy it to your en.yml
and change it if necessary:
en:
scrivito_two_column_widget:
thumbnail:
title: Two Columns
description: Two columns that can be filled with widgets
details:
column_1_width: Width for column 1
grid_size: Gird Size
keep_columns: Show columns on mobile