From 12567a5d7258a45340812243a71a948f3b61b9cc Mon Sep 17 00:00:00 2001 From: Kyle MacPherson Date: Tue, 21 Jan 2025 11:01:08 +0000 Subject: [PATCH] Fixing slim linting issues --- .../_professional_body_memberships.html.slim | 1 - .../profiles/professional_body_memberships/_summary.html.slim | 2 +- .../profiles/professional_body_memberships/new.html.slim | 2 +- .../profiles/professional_body_memberships/review.html.slim | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/jobseekers/professional_body_memberships/_professional_body_memberships.html.slim b/app/views/jobseekers/professional_body_memberships/_professional_body_memberships.html.slim index f2d7faf721..a230e8ff64 100644 --- a/app/views/jobseekers/professional_body_memberships/_professional_body_memberships.html.slim +++ b/app/views/jobseekers/professional_body_memberships/_professional_body_memberships.html.slim @@ -28,4 +28,3 @@ - detail.with_action govuk_link_to(safe_join([t("buttons.change"), tag.span(professional_body_membership.name, class: "govuk-visually-hidden")]), edit_jobseekers_profile_professional_body_membership_path(professional_body_membership), class: "govuk-link--no-visited-state") - detail.with_action govuk_link_to(safe_join([t("buttons.delete"), tag.span(professional_body_membership.name, class: "govuk-visually-hidden")]), jobseekers_profile_professional_body_membership_confirm_destroy_path(professional_body_membership)) - diff --git a/app/views/jobseekers/profiles/professional_body_memberships/_summary.html.slim b/app/views/jobseekers/profiles/professional_body_memberships/_summary.html.slim index 9acf87afed..fb731e6208 100644 --- a/app/views/jobseekers/profiles/professional_body_memberships/_summary.html.slim +++ b/app/views/jobseekers/profiles/professional_body_memberships/_summary.html.slim @@ -2,4 +2,4 @@ p class="govuk-!-margin-bottom-6" = govuk_link_to "Add professional body membership", new_jobseekers_profile_professional_body_membership_path - if profile.professional_body_memberships.any? - = render "jobseekers/professional_body_memberships/professional_body_memberships", profile: profile \ No newline at end of file + = render "jobseekers/professional_body_memberships/professional_body_memberships", profile: profile diff --git a/app/views/jobseekers/profiles/professional_body_memberships/new.html.slim b/app/views/jobseekers/profiles/professional_body_memberships/new.html.slim index 7e8adb7569..a56cc46bbb 100644 --- a/app/views/jobseekers/profiles/professional_body_memberships/new.html.slim +++ b/app/views/jobseekers/profiles/professional_body_memberships/new.html.slim @@ -18,4 +18,4 @@ = f.govuk_submit t("buttons.save_and_continue") .govuk-button-group - = govuk_link_to t("buttons.cancel"), jobseekers_profile_path \ No newline at end of file + = govuk_link_to t("buttons.cancel"), jobseekers_profile_path diff --git a/app/views/jobseekers/profiles/professional_body_memberships/review.html.slim b/app/views/jobseekers/profiles/professional_body_memberships/review.html.slim index 22559e5cb8..ef05d4b4f3 100644 --- a/app/views/jobseekers/profiles/professional_body_memberships/review.html.slim +++ b/app/views/jobseekers/profiles/professional_body_memberships/review.html.slim @@ -11,4 +11,4 @@ .govuk-button-group = govuk_button_link_to "Add professional body membership", new_jobseekers_profile_professional_body_membership_path(profile), class: "govuk-button--secondary govuk-!-margin-bottom-0" - = govuk_button_link_to "Return to profile", jobseekers_profile_path \ No newline at end of file + = govuk_button_link_to "Return to profile", jobseekers_profile_path