changes text to remove questions on polls questions list

This commit is contained in:
Alberto Garcia Cabeza
2016-12-16 14:09:04 +01:00
parent 0ddf7a003c
commit 30a56d21f7
3 changed files with 4 additions and 5 deletions

View File

@@ -10,10 +10,7 @@
<tr id="<%= dom_id(question) %>"> <tr id="<%= dom_id(question) %>">
<td><%= link_to question.title, admin_question_path(question) %></td> <td><%= link_to question.title, admin_question_path(question) %></td>
<td class="text-right"> <td class="text-right">
<%= link_to t('shared.edit'), <%= link_to t('admin.polls.show.remove_question'),
edit_admin_question_path(question),
class: "button hollow" %>
<%= link_to t('shared.delete'),
admin_question_path(question), admin_question_path(question),
class: "button hollow alert", class: "button hollow alert",
method: :delete %> method: :delete %>

View File

@@ -189,6 +189,7 @@ en:
booths_title: "List of booths" booths_title: "List of booths"
officers_title: "List of officers" officers_title: "List of officers"
questions_title: "List of questions" questions_title: "List of questions"
remove_question: "Remove question from poll"
name: "Name" name: "Name"
location: "Location" location: "Location"
email: "Email" email: "Email"

View File

@@ -185,10 +185,11 @@ es:
no_booths: "No hay urnas en esta votación." no_booths: "No hay urnas en esta votación."
no_questions: "No hay preguntas asignadas a esta votación todavía." no_questions: "No hay preguntas asignadas a esta votación todavía."
no_officers: "No hay presidentes de mesa asignados." no_officers: "No hay presidentes de mesa asignados."
remove_booth: "Deasignar urna" remove_booth: "Desasignar urna"
booths_title: "Listado de urnas" booths_title: "Listado de urnas"
officers_title: "Listado de presidentes de mesa" officers_title: "Listado de presidentes de mesa"
questions_title: "Listado de preguntas" questions_title: "Listado de preguntas"
remove_question: "Desasignar pregunta"
name: "Nombre" name: "Nombre"
location: "Ubicación" location: "Ubicación"
email: "Email" email: "Email"