Skip to content

Commit

Permalink
Adding controller params to erb
Browse files Browse the repository at this point in the history
  • Loading branch information
a-maci29 committed Apr 27, 2023
1 parent 20f4e1d commit 38ee1fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/controllers/podcast_engagement_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def podcast_engagement_params
:prx_account_uri,
:subtitle,
:description,
:donation_url,
:summary,
:link,
:explicit,
Expand All @@ -43,6 +44,7 @@ def podcast_engagement_params
:language,
:owner_name,
:owner_email,
:payment_pointer,
:author_name,
:author_email,
:managing_editor_name,
Expand Down
3 changes: 1 addition & 2 deletions app/views/podcast_engagement/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
"turbo-action": "replace"
}
) do |form| %>
<div class="form-floating">
<div class="form-floating mb-3">
<input class="form-control" aria-label="Donation Link">
<%= form.text_field :donation_url %>
<label for="floatingInput">Donation Link</label>
</div>
</div>
Expand Down

0 comments on commit 38ee1fc

Please sign in to comment.