Sha256: 1f3ef05382240a97e59bfbcbaedc1f6c4198c88303e06458309bf2dad2452b28

Contents?: true

Size: 1.62 KB

Versions: 3

Compression:

Stored size: 1.62 KB

Contents

# Pageflow Before After

[![Gem Version](https://badge.fury.io/rb/pageflow-before-after.svg)](http://badge.fury.io/rb/pageflow-before-after)
[![Build Status](https://travis-ci.org/codevise/pageflow-before-after.svg?branch=master)](https://travis-ci.org/codevise/pageflow-before-after)

Page type showing before/after image sliders (Digit style).

## Installation

Add this line to your application's Gemfile:

    # Gemfile
    gem 'pageflow-before-after'

Register the page type:

    # config/initializers/pageflow.rb
    Pageflow.configure do |config|
      config.page_types.register(Pageflow::BeforeAfter.page_type)
    end

Include javascripts and stylesheets:

    # app/assets/javascripts/pageflow/application.js
    //= require "pageflow/before_after"

    # app/assets/javascripts/pageflow/editor.js
    //= require pageflow/before_after/editor

    # app/assets/stylesheets/pageflow/application.scss
    @import "pageflow/before_after";

    # app/assets/stylesheets/pageflow/themes/default.scss
    @import "pageflow/before_after/themes/default";

Execute `bundle install`
Restart the application server.

## Troubleshooting

If you run into problems while installing the page type, please also refer to the [Troubleshooting](https://github.com/codevise/pageflow/wiki/Troubleshooting) wiki page in the [Pageflow  repository](https://github.com/codevise/pageflow). If that doesn't help, consider [filing an issue](https://github.com/codevise/pageflow-before-after/issues).

## Contributing Locales

Edit the translations directly on the
[pageflow-before-after](http://www.localeapp.com/projects/public?search=tf/pageflow-before-after)
locale project.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pageflow-before-after-1.4.0 README.md
pageflow-before-after-1.3.0 README.md
pageflow-before-after-1.2.0 README.md