-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Awarding Body to qualification result (#7352)
- Loading branch information
Showing
28 changed files
with
164 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/form_models/jobseekers/qualifications/secondary/qualification_result_form.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ def duplicate | |
self.class.new( | ||
grade:, | ||
subject:, | ||
awarding_body:, | ||
) | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
app/views/jobseekers/job_applications/qualifications/edit.html.slim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
- content_for :page_title_prefix, job_application_page_title_prefix(form, t(".title")) | ||
- content_for :page_title_prefix, job_application_page_title_prefix(@form, t(".title")) | ||
|
||
.govuk-grid-row | ||
.govuk-grid-column-two-thirds | ||
span.govuk-caption-l = t(".caption") | ||
h1.govuk-heading-xl = t(".heading.#{category}") | ||
h1.govuk-heading-xl = t(".heading.#{@category}") | ||
|
||
= form_for form, url: jobseekers_job_application_qualification_path(job_application, qualification), method: :patch do |f| | ||
= form_for @form, url: jobseekers_job_application_qualification_path(job_application, @qualification), method: :patch do |f| | ||
= f.govuk_error_summary link_base_errors_to: :subject | ||
|
||
= render "jobseekers/qualifications/fields", f: f | ||
= render "jobseekers/qualifications/fields", f: f, category: @category | ||
|
||
= f.govuk_submit t("buttons.save_qualification.#{secondary? ? 'other' : 'one'}") | ||
= f.govuk_submit t("buttons.save_qualification.#{f.object.secondary? ? 'other' : 'one'}") | ||
= govuk_button_link_to t("buttons.cancel"), jobseekers_job_application_build_path(job_application, :qualifications), class: "govuk-button--secondary govuk-!-margin-left-3" |
Oops, something went wrong.