Skip to content

Commit

Permalink
Pass errors to partials
Browse files Browse the repository at this point in the history
  • Loading branch information
kdp-cloud committed Jun 3, 2024
1 parent 13e4647 commit fce8e34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/single_pages/sample_upload_content.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div id="upload-summary">

<%# General information panel %>
<%= render partial: 'general_panel' %>
<%= render partial: 'general_panel', locals: {errors: } %>

<%# New Samples panel %>
<%= render partial: 'new_samples_panel' %>
Expand All @@ -21,7 +21,7 @@
<%= render partial: 'duplicate_samples_panel' %>

<%# Panel for Sample with wrong permissions %>
<%= render partial: 'unauthorized_samples_panel' %>
<%= render partial: 'unauthorized_samples_panel', locals: {errors: } %>

<div id='check-excel-upload-result'></div>
<% unless @can_upload %>
Expand Down

0 comments on commit fce8e34

Please sign in to comment.