Skip to content

Commit

Permalink
Merge pull request DMPRoadmap#3031 from DMPRoadmap/bug_contributor_or…
Browse files Browse the repository at this point in the history
…g_select

Bug fix for contributors new.html.erb
  • Loading branch information
briri committed Sep 21, 2021
2 parents f536be1 + 811ec3d commit ac7de1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/contributors/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<%= form_for @contributor, url: plan_contributor_path(@plan, @contributor),
html: { method: :put } do |f| %>
<%= render partial: "contributors/form",
locals: { form: f, plan: @plan, contributor: @contributor, orgs: @orgs, org_partial: @org_partial } %>
locals: { form: f, plan: @plan, contributor: @contributor, orgs: @all_orgs, org_partial: @org_partial } %>
<% end %>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/contributors/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="col-md-12">
<%= form_for @contributor, url: plan_contributors_path do |f| %>
<%= render partial: "contributors/form",
locals: { form: f, plan: @plan, contributor: @contributor, orgs: @orgs, org_partial: @org_partial } %>
locals: { form: f, plan: @plan, contributor: @contributor, orgs: @all_orgs, org_partial: @org_partial } %>
<% end %>
</div>
</div>
Expand Down

0 comments on commit ac7de1b

Please sign in to comment.