diff --git a/app/views/webhooks/edit.html.erb b/app/views/webhooks/edit.html.erb index 70e9fa34e..695aac8b5 100644 --- a/app/views/webhooks/edit.html.erb +++ b/app/views/webhooks/edit.html.erb @@ -6,7 +6,7 @@ <% end %> -
+
<%= form_with model: @webhook, url: @webhook, method: :put, data: { controller: "form" }, html: { class: "flex flex-column gap" } do |form| %>

<%= form.text_field :name, required: true, autofocus: true, class: "input full-width", placeholder: "Name your Webhook…", data: { action: "keydown.esc@document->form#cancel" } %> diff --git a/app/views/webhooks/index.html.erb b/app/views/webhooks/index.html.erb index 0652eba7c..e8f72c0a4 100644 --- a/app/views/webhooks/index.html.erb +++ b/app/views/webhooks/index.html.erb @@ -8,7 +8,7 @@

<%= @page_title %>

<% end %> -<%= tag.section class: "panel shadow center webhooks" do %> +<%= tag.section class: "panel panel--wide shadow center webhooks" do %> <% if @page.records.any? %>