Skip to content

lappis-unb/decidim-ej

Repository files navigation

EJ component extends Decidim's capabilities to allow it to collect users opinions. After enabling and configuring the component, a participation page will be available. The voting system is composed of a subject, a list of comments about the subject and three vote options. The votes are send to EJ using its API.

Installation

Add this line to your application's Gemfile:

gem "decidim-ej"

And then execute:

bundle

For local development, you can refer to this repository. This component depends on a running EJ instance.

Usage

  1. Creates an EJ conversation.

new conversation button

  1. Retrieves the conversation ID from URL. Keep this information.

conversation id

  1. Edit some Decidim participatory space and click on 'Components'.

partipatory space components

  1. Click on 'add components' and then click on EJ component.

installing EJ component

  1. Configure EJ component to request the conversation created on step 1.
  • The host URL is the http/https EJ URL. This can be a local or remote EJ instance.
  • The conversation identifier is the ID from step 2.

Now, you can save the component and it will appear on participatory space components list.

configuring EJ

  1. On components list, click on EJ component name. Decidim will load the participation page for the configured conversation.

using EJ

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published