<%= t("webhooks.index.webhook_trigger") %>
<%= f.select :http_method, options_for_select(Webhook.http_methods.map{ |k,_v| [k.upcase, k] }, f.object.http_method) %>
<%= t("webhooks.index.target") %>
<%= f.text_field :url, class: "sci-input-field url-input", placeholder: t("webhooks.index.url_placeholder"), data: {original_value: f.object.url } %>
<%= f.button class: "btn btn-primary save-webhook" do %> <%= t('general.save') %> <% end %>
<%= t("webhooks.index.secret_key") %>
<%= f.text_field :secret_key, class: "sci-input-field" %> <%= t("webhooks.index.secret_key_hint") %>