Remove URL field from edit form

This commit is contained in:
Stanko K.R.
2025-09-16 20:18:35 +02:00
parent 2e9273c6ab
commit b49e8d2d34
-14
View File
@@ -18,20 +18,6 @@
<%= form.text_field :name, required: true, autofocus: true, class: "input full-width", placeholder: "Name your Webhook…", data: { action: "keydown.esc@document->form#cancel" } %>
</h2>
<div class="flex flex-column gap-half">
<%= form.label :url do %>
<strong>Payload URL</strong><br>
<p class="margin-none txt-x-small txt-subtle">This is the URL for the app that will receive payloads from Fizzy.</p>
<% end %>
<%= form.url_field :url,
required: true,
pattern: "https?://.*",
title: "Must be an http:// or https:// URL",
class: "input",
placeholder: "https://example.com",
data: { action: "keydown.esc@document->form#cancel" } %>
</div>
<div class="flex flex-column gap-half">
<%= form.label :actions do %>
<strong>Events</strong><br>