Add reason handling to force delete bulk action

This commit is contained in:
Karl Erik Õunapuu 2020-11-03 15:46:32 +02:00
parent 2d8eb8f02c
commit 1cca76e9ba
No known key found for this signature in database
GPG key ID: C9DD647298A34764
4 changed files with 15 additions and 12 deletions

View file

@ -6,7 +6,7 @@
<div class="panel-heading">Bulk Domain Force Delete</div>
<div class="panel-body">
<p>Triggers <b>soft</b> force delete procedure for uploaded domain list. List must be in <b>CSV</b> format. Each domain entry must be on separate line. Line must include <b>domain_name</b> (puny) followed with <b>delete_reason</b>, separated by comma.</p>
<p>Allowed delete reasons: <b>IDENT_BURIED</b> | <b>PHONE</b> | <b>EMAIL</b></p>
<p>Allowed delete reasons: <b>ENTITY_BURIED</b> | <b>PHONE</b> | <b>EMAIL</b></p>
<%= form_tag admin_mass_actions_path, multipart: true do %>
<%= file_field_tag :entry_list, accept: 'text/csv' %>
<%= hidden_field_tag :mass_action, 'force_delete' %>