This commit is contained in:
Jason Zimdars
2024-08-06 21:55:22 -05:00
parent ab1e10200b
commit 9e2135b5bc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<turbo-frame id="new_catgory">
<turbo-frame id="new_category">
<%= form_with model: [@splat, @category], data: { turbo_frame: "_top" } do |form| %>
<%= form.text_field :title, class: "input borderless", autofocus: "on", list: "categories-list" %>
<%= form.submit "Create Category", hidden: true %>
+1 -1
View File
@@ -15,7 +15,7 @@
<% if splat.categories.count < 3 %>
<span class="splat__bubble splat__meta splat__category">
<turbo-frame id="new_catgory">
<turbo-frame id="new_category">
<%= link_to "#", new_splat_category_path(splat), class: "splat__category--new" %>
</turbo-frame>
</span>