Skip to content

Commit

Permalink
fix: an issue where two forms were added when clicking add new session
Browse files Browse the repository at this point in the history
speaker_form.js is imported in form.html, but it's already imported in cnds2024.js.
  • Loading branch information
takaishi committed May 1, 2024
1 parent 6f84e7b commit d012837
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/views/speaker_dashboard/speakers/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,3 @@
<%= form.submit class: "btn btn-primary btn-lg btn-block" %>
</div>
<% end %>

<%= javascript_pack_tag "speaker_form.js" %>

0 comments on commit d012837

Please sign in to comment.