-
Notifications
You must be signed in to change notification settings - Fork 10
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
CST-1077: sit participants in the right cohort on school transfers #2602
CST-1077: sit participants in the right cohort on school transfers #2602
Conversation
a122ac5
to
09ddfc4
Compare
Created review app at https://ecf-review-pr-2602.london.cloudapps.digital |
Smoke tests passed against the review app. |
0e42369
to
67e60d0
Compare
"https://www.gov.uk/government/publications/early-career-framework-reforms-overview/early-career-framework-reforms-overview", | ||
target: :_blank, | ||
rel: "noopener noreferrer", | ||
class: "govuk-link govuk-link--no-visited-state" %> |
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.
Not really important here but you can pass no_visited_state: true
to govuk_link_to
for the same effect.
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.
Great thanks. Much less verbose!.
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.
After Christmas it will support new_tab: true
which means you'd be able to drop target: :_blank, rel: "noopener noreferrer"
too, but I need to wait for Ruby 2.7 support to drop before merging.
</h1> | ||
|
||
<p class="govuk-body"> | ||
Before you can register <%= add_participant_form.full_name.titleize %> for ECF-based training at your school, |
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.
I'm not sure we shold be titleizing peoples names here. It might work for some but will break others (McDonald vs Mcdonald)
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.
You are right. I copied it from a similar view. There must be loads across the code.
I will change at least this one. Thanks!
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.
Ok, I'll have a look for others. Thanks for the heads up.
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.
Logic all seems sensible to me. Left a couple of minor comments.
It feels like there's a lot going on in AddParticipantsController
and TransferringParticipantsController
. Perhaps this could be reworked slightly into the service layer as a follow up?
f2d2066
to
3907701
Compare
3907701
to
330db4a
Compare
…ansfer a participant
330db4a
to
b1d5251
Compare
Context
Changes proposed in this pull request
Guidance to review