%= render PandaCms::Admin::ContainerComponent.new do |component| %>
<% component.with_heading(text: "Bulk Editor", level: 1) %>
<% if @debug && @debug[:error].any? %>
Errors:
<% @debug[:error].each do |error| %>
- <%= error %>
<% end %>
<% end %>
<% if @debug && @debug[:warning].any? %>
Warnings:
<% @debug[:warning].each do |warning| %>
- <%= warning %>
<% end %>
<% end %>
<% if @debug && @debug[:success].any? %>
Updates:
<% @debug[:success].each do |success| %>
- <%= success %>
<% end %>
<% end %>
<%= panda_cms_form_with method: :post do |form| %>
<%= form.text_area :site_content, value: @json_data, cols: 70, rows: 10, class: "block font-mono w-full" %>
<%= form.button "Update" %>
<% end %>
<% end %>