-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new_authorization_request_hidden_params is now responsible for checki…
…ng persistence and attributes presence
- Loading branch information
1 parent
9f831bc
commit 4a56cf3
Showing
3 changed files
with
10 additions
and
7 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
8 changes: 3 additions & 5 deletions
8
app/views/authorization_request_forms/shared/_hidden_params.html.erb
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,5 +1,3 @@ | ||
<% if new_authorization_request_hidden_params.present? && new_authorization_request_hidden_params[:attributes].present? %> | ||
<% new_authorization_request_hidden_params[:attributes].each do |key, value| %> | ||
<%= f.hidden_field key, value: %> | ||
<% end %> | ||
<% end %> | ||
<% new_authorization_request_hidden_params[:attributes].each do |key, value| %> | ||
<%= f.hidden_field key, value: %> | ||
<% end %> |