<%= render PandaCms::Admin::ContainerComponent.new do |component| %> <% component.with_heading(text: "Forms", level: 1) do |heading| %> <% end %>
<% forms.each do |form| %> <% end %>
Name Status Last Submission Completion Path View
<%= form.name %>
<%= render PandaCms::Admin::TagComponent.new(status: :active) %>
<%= "#{time_ago_in_words(form.form_submissions&.last&.created_at)} ago" if form.form_submissions&.last %>
<%= form.completion_path %> <%= link_to "View Submissions", admin_form_path(form), class: "after:absolute after:inset-0 text-panda-dark hover:text-indigo-900" %>
<% end %>