Deleting a booth shift with recounts or partial results.

Show a flash message that it's not possible to delete booth shifts
when they have associated recounts or partial results. Before an
execption was raised.
This commit is contained in:
Julian Herrero
2019-02-06 10:55:43 +01:00
parent e76f483850
commit 5f4a369606
6 changed files with 70 additions and 3 deletions

View File

@@ -872,6 +872,7 @@ es:
flash:
create: "Añadido turno de presidente de mesa"
destroy: "Eliminado turno de presidente de mesa"
unable_to_destroy: "No se pueden eliminar turnos que tienen resultados o recuentos asociados"
date_missing: "Debe seleccionarse una fecha"
vote_collection: Recoger Votos
recount_scrutiny: Recuento & Escrutinio