<% if ENV.fetch('ENABLE_ACCOUNT_SEEDING', !Rails.env.production?) %>

<%= form_for([:seed, namespace, page.resource], method: :post, html: { class: "form" }) do |f| %>

Click the button to generate seed data into this account for demos.

Note: This will clear all the existing data in this account.

<%= f.submit 'Generate Seed Data' %>
<% end %>
<% end %>