-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass search params to admin admins paths
- Loading branch information
1 parent
fa7e8e4
commit fe1b964
Showing
5 changed files
with
44 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- title t("admin.users.edit_button.#{controller_name}") | ||
|
||
- content_for :before_main_content do | ||
= link_to "Back to users list", admin_admins_path(search: params[:search], page: params[:page]), class: "govuk-back-link" | ||
|
||
h1.govuk-heading-xl | ||
= t("admin.users.edit_button.#{controller_name}") | ||
|
||
= render 'form', resource: @resource |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- title t("admin.users.edit_button.#{controller_name}") | ||
|
||
- content_for :before_main_content do | ||
= link_to "Back to users list", admin_admins_path(search: params[:search], page: params[:page]), class: "govuk-back-link" | ||
|
||
h1.govuk-heading-xl | ||
= t("admin.users.new_button.#{controller_name}") | ||
|
||
= render 'form', resource: @resource |