Add support for open-ended questions in admin section

Introduce a new "open" votation type for poll questions in the admin
interface. This type allows open answers provided by the user.
This commit is contained in:
taitus
2025-08-06 11:12:08 +02:00
parent eb10a3135b
commit 4e57e311dc
12 changed files with 56 additions and 5 deletions

View File

@@ -534,6 +534,7 @@ en:
max_votes: Maximum number of votes
vote_type: Votation type
votation_type/vote_type:
open: Open-ended
unique: Unique answer
multiple: Multiple answers
cookies/vendor:

View File

@@ -1131,6 +1131,7 @@ en:
title: "Votation type"
unique_description: "It's only possible to answer one time to the question."
multiple_description: "Allows to choose multiple answers. It's possible to set the maximum number of answers."
open_description: "Open-ended question that allows users to provide a single answer in their own words."
questions:
index:
create: "Create question"

View File

@@ -534,6 +534,7 @@ es:
max_votes: Número máximo de votos
vote_type: Tipo de votación
votation_type/vote_type:
open: Respuesta abierta
unique: Respuesta única
multiple: Respuesta múltiple
cookies/vendor:

View File

@@ -1131,6 +1131,7 @@ es:
title: "Tipo de votación"
unique_description: "Solo se puede responder a la pregunta con una única respuesta."
multiple_description: "Permite elegir más de una respuesta. Se puede elegir el número máximo de respuestas."
open_description: "Pregunta abierta que permite al usuario dar una única respuesta con sus propias palabras."
questions:
index:
create: "Crear pregunta ciudadana"