Merge pull request #53 from medialab-prado/46-validate-legislation-process-dates
Validate date ranges for legislation process
This commit is contained in:
@@ -127,6 +127,14 @@ en:
|
||||
attributes:
|
||||
max_per_day:
|
||||
invalid: "You have reached the maximum number of private messages per day"
|
||||
legislation/process:
|
||||
attributes:
|
||||
end_date:
|
||||
invalid_date_range: must be on or after the start date
|
||||
debate_end_date:
|
||||
invalid_date_range: must be on or after the debate start date
|
||||
allegations_end_date:
|
||||
invalid_date_range: must be on or after the allegations start date
|
||||
proposal:
|
||||
attributes:
|
||||
tag_list:
|
||||
|
||||
@@ -127,6 +127,14 @@ es:
|
||||
attributes:
|
||||
max_per_day:
|
||||
invalid: "Has llegado al número máximo de mensajes privados por día"
|
||||
legislation/process:
|
||||
attributes:
|
||||
end_date:
|
||||
invalid_date_range: tiene que ser igual o posterior a la fecha de inicio
|
||||
debate_end_date:
|
||||
invalid_date_range: tiene que ser igual o posterior a la fecha de inicio del debate
|
||||
allegations_end_date:
|
||||
invalid_date_range: tiene que ser igual o posterior a la fecha de inicio de las alegaciones
|
||||
proposal:
|
||||
attributes:
|
||||
tag_list:
|
||||
|
||||
Reference in New Issue
Block a user