Sha256: 85845bbe4a331d1b00f84ec72b06d73904855001259121f1eec1ea4ea7fa9c48
Contents?: true
Size: 1.19 KB
Versions: 75
Compression:
Stored size: 1.19 KB
Contents
# Decidim::Consultations Decidim consultatios is a Decidim plugin that allows managing public consultations. ## Usage This plugin provides: * A CRUD engine to manage consultations. * Public views for initiatives via a high level section in the main menu. * An URL that can be used in conjunction with an iframe element in order to embed a consultation inside an external page. ## Installation Add this line to your application's Gemfile: ```ruby gem 'decidim-consultations' ``` And then execute: ```bash bundle bundle exec rails decidim_consultations:install:migrations bundle exec rails db:migrate ``` ## Embeding a consultation In order to embed a consultation inside an external page we must use an iframe element. The url required to use it is the same url for the consultation in Decidim but adding a '/embed' at the end. So for example if our consultation has the following URL: http://localhost:3000/consultations/sit-cumque we should embed it using the following URL: http://localhost:3000/consultations/sit-cumque/embed Notice the '/embed' at the end of the URL. ## Contributing See [Decidim](https://github.com/decidim/decidim). ## License See [Decidim](https://github.com/decidim/decidim).
Version data entries
75 entries across 75 versions & 1 rubygems