diff --git a/app/views/categories/new.html.erb b/app/views/categories/new.html.erb index f9b057823..dfa075437 100644 --- a/app/views/categories/new.html.erb +++ b/app/views/categories/new.html.erb @@ -1,4 +1,4 @@ - + <%= 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 %> diff --git a/app/views/splats/_splat.html.erb b/app/views/splats/_splat.html.erb index cf7b99488..29beaeb2d 100644 --- a/app/views/splats/_splat.html.erb +++ b/app/views/splats/_splat.html.erb @@ -15,7 +15,7 @@ <% if splat.categories.count < 3 %> - + <%= link_to "#", new_splat_category_path(splat), class: "splat__category--new" %>