Skip to content

Commit

Permalink
Fixing slim linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMacPherson committed Jan 21, 2025
1 parent a155e74 commit 12567a5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Original file line number Diff line number Diff line change
Expand Up @@ -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
= render "jobseekers/professional_body_memberships/professional_body_memberships", profile: profile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
= f.govuk_submit t("buttons.save_and_continue")

.govuk-button-group
= govuk_link_to t("buttons.cancel"), jobseekers_profile_path
= govuk_link_to t("buttons.cancel"), jobseekers_profile_path
Original file line number Diff line number Diff line change
Expand Up @@ -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
= govuk_button_link_to "Return to profile", jobseekers_profile_path

0 comments on commit 12567a5

Please sign in to comment.