Merge pull request #3476 from consul/delete-poll

Allow delete polls with associated questions and answers
This commit is contained in:
Alberto
2019-05-17 17:38:20 +02:00
committed by GitHub
7 changed files with 77 additions and 4 deletions

View File

@@ -1035,7 +1035,7 @@ en:
polls:
index:
title: "List of polls"
no_polls: "There are no polls coming up."
no_polls: "There are no polls."
create: "Create poll"
name: "Name"
dates: "Dates"
@@ -1066,6 +1066,10 @@ en:
flash:
question_added: "Question added to this poll"
error_on_question_added: "Question could not be assigned to this poll"
destroy:
alert: "This action will remove the poll and all its associated questions."
success_notice: "Poll deleted successfully"
unable_notice: "You cannot delete a poll that has votes"
questions:
index:
title: "Questions"