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