<%= form_for [:admin, vendor], html: { class: "vendor-form" } do |f| %>
  <%= render "shared/errors", resource: vendor %>

  <%= f.text_field :name, hint: t("admin.cookies.vendors.form.name.help_text") %>
  <%= f.text_area :description, hint: t("admin.cookies.vendors.form.description.help_text"), rows: 4 %>
  <%= f.text_field :cookie, hint: t("admin.cookies.vendors.form.cookie.help_text") %>
  <%= f.text_area :script, hint: t("admin.cookies.vendors.form.script.help_text"), rows: 10 %>

  <%= f.submit %>
<% end %>
