diff --git a/app/views/collections/new.html.erb b/app/views/collections/new.html.erb index d476654e6..90803983b 100644 --- a/app/views/collections/new.html.erb +++ b/app/views/collections/new.html.erb @@ -4,17 +4,16 @@ <%= render "filters/menu" %> <% end %> -
- <%= form_with model: @collection, class: "flex flex-column gap txt-large", data: { controller: "form" } do |form| %> -

<%= @page_title %>

- +
+ <%= form_with model: @collection, class: "flex flex-column gap", data: { controller: "form" } do |form| %> +

<%= @page_title %>

+ <%= form.text_field :name, required: true, class: "input full-width", autofocus: true, autocomplete: "off",placeholder: "Name it…", data: { action: "keydown.esc@document->form#cancel" } %> - + <%= link_to "Cancel and go back", root_path, data: { form_target: "cancel", turbo_frame: "_top" }, hidden: true %> <% end %>