<%= form_with(model: [ @script_snippet, @snippet_url], url: form_url, local: true) do |form| %> <%= render "phcdevworks_notifications/bootstrap/validations", :object => @snippet_url %>
<%= form.label :snippet_post_url, "Script URL" %> <%= form.text_field :snippet_post_url, placeholder: "Script Url", class: "form-control" %>
<%= form.submit class: "btn btn-primary" %>
<% end %>