-
Notifications
You must be signed in to change notification settings - Fork 112
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
Split up the RequestALetterController into separate controllers for sending and resending #10858
Conversation
…ending and resending This changes reduces some confusion in the IdV flow. It will need to be made in 3 parts: 1. Adding the new routes with functionality 2. Directing to the new routes 3. Tearing down the old routes This change is here to make sure it all works together while I do the above in separate commits [skip changelog]
I meant to open this as a draft. It is not intended to be merged. I'll be opening PRs for the component parts and asking for a review on those once I get this green. |
<%= @applicant[:address1] %> | ||
<br /> | ||
<% if @applicant[:address2] %> | ||
<%= @applicant[:address2] %> | ||
<br /> | ||
<% end %> | ||
<%= @applicant[:city] %>, <%= @applicant[:state] %> <%= @applicant[:zipcode] %> | ||
<br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have a shared/_address.html
partial, looks like we could use it here if we want?
<%= @applicant[:address1] %> | |
<br /> | |
<% if @applicant[:address2] %> | |
<%= @applicant[:address2] %> | |
<br /> | |
<% end %> | |
<%= @applicant[:city] %>, <%= @applicant[:state] %> <%= @applicant[:zipcode] %> | |
<br /> | |
<%= render partial: 'shared/address', address: @applicant %> | |
<br /> |
or maybe if we want to not pass the whole applicant
<%= @applicant[:address1] %> | |
<br /> | |
<% if @applicant[:address2] %> | |
<%= @applicant[:address2] %> | |
<br /> | |
<% end %> | |
<%= @applicant[:city] %>, <%= @applicant[:state] %> <%= @applicant[:zipcode] %> | |
<br /> | |
<%= render partial: 'shared/address', address: @applicant.slice(:address1, :address2, :city, :state, :zipcode) %> | |
<br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, yeah that looks like a good change
I have split these changes up across the following PRs: |
This changes reduces some confusion in the IdV flow. It will need to be made in 3 parts:
This change is here to make sure it all works together while I do the above in separate commits