Validation in model and in form added. When users makes the on focus on population field an explanation appears. Some specs added to test the model validations

This commit is contained in:
iagirre
2017-10-31 13:04:30 +01:00
parent 015f85f9db
commit bfcbb6c0ad
5 changed files with 26 additions and 2 deletions

View File

@@ -105,6 +105,7 @@ en:
table_heading: Heading
table_amount: Amount
table_population: Population
population_info: "Budget Heading population field is used for Statistic purposes at the end of the Budget to show for each Heading that represents an area with population what percentage voted. The field is optional so you can leave it empty if it doesn't apply."
winners:
calculate: Calculate Winner Investments
calculated: Winners being calculated, it may take a minute.

View File

@@ -105,6 +105,7 @@ es:
table_heading: Partida
table_amount: Cantidad
table_population: Población
population_info: "El campo población de las partidas presupuestarias se usa con fines estadísticos únicamente, con el objetivo de mostrar el porcentaje de votos habidos en cada partida que represente un área con población. Es un campo opcional, así que puedes dejarlo en blanco si no aplica."
winners:
calculate: Calcular propuestas ganadoras
calculated: Calculando ganadoras, puede tardar un minuto.