Skip to content

Commit

Permalink
不要なformのlocal: trueを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
yakitorii committed Dec 12, 2022
1 parent d1cf394 commit bde8807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotwire-tw-demo/app/views/emotions/_new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</ul>
</div>
<% end %>
<%= form_with model: @emotion || Emotion.new, local: true do |form| %>
<%= form_with model: @emotion || Emotion.new do |form| %>
<div class="mb-3 row">
<%= form.label :icon, "きもち", class: "col-sm-2 col-form-label" %>
<div class="col-sm-10">
Expand Down

0 comments on commit bde8807

Please sign in to comment.