Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GYR1-604 Add dependent IP PIN question to dependent screen #5262

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/controllers/questions/dependents_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def dependent_params
:north_american_resident,
:disabled,
:was_married,
:has_ip_pin,
]
permitted_params = params.require(:dependent).permit(
*dependent_attribute_keys, *birth_date_param_keys
Expand Down
1 change: 1 addition & 0 deletions app/views/questions/dependents/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<%= f.cfa_checkbox(:us_citizen, t("views.dependents.form.was_not_citizen"), options: {checked_value: "no", unchecked_value: "yes"}) %>
<%= f.cfa_checkbox(:north_american_resident, t("views.dependents.form.north_american_resident"), options: {checked_value: "no", unchecked_value: "yes"}) %>
<%= f.cfa_checkbox(:disabled, t("views.dependents.form.disabled"), options: {checked_value: "yes", unchecked_value: "no"}) %>
<%= f.cfa_checkbox(:has_ip_pin, t("views.dependents.form.has_ip_pin"), options: {checked_value: "yes", unchecked_value: "no"}) %>
</div>

<% if @allow_deletion %>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5328,6 +5328,7 @@ en:
delete_cta: Remove this person
disabled: Permanently disabled
first_name: First name
has_ip_pin: Has been issued an IP PIN
last_name: Last name
life_circumstances: Select any cases that describe their life this past year
life_circumstances_help: We need these answers to determine which tax credits you may qualify for.
Expand Down
1 change: 1 addition & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5311,6 +5311,7 @@ es:
delete_cta: Eliminar a esta persona
disabled: Con discapacidad permanente
first_name: Nombre
has_ip_pin: Se le emitió un IP PIN
last_name: Apellido
life_circumstances: Selecciona cualesquiera casos que describan sus vidas en el último año
life_circumstances_help: Necesitamos estas respuestas para determinar para cuáles créditos tributarios te puedes calificar.
Expand Down
Loading