Friday, September 20, 2024 2:40:51 AM
> settings

Customize


Authenticate

> _delete_community_modal.html.erb
<div id="delete-community" uk-modal="bg-close:false" uk-modal>
  <div class="uk-modal-dialog">
    <div class="uk-modal-header">
      <h3 class="uk-modal-title">Delete <%= current_community.community_name %>?</h3>
    </div>
    <div class="uk-modal-body">
      <h4>Are you sure?</h4>
      <p>
        This will cause Exile Server Manager to leave your Discord server, and remove all data pertaining to <code><%= current_community.community_id %></code> including:
        <ul class="uk-list uk-list-bullet">
            <li>Command configurations</li>
            <li>Cooldowns</li>
            <li>Notifications</li>
            <li>Servers (and their associated data)</li>
            <li>Any associated XM8 notification routes</li>
        </ul>
        <br>
        If you change your mind, you can re-invite ESM back and this will re-create your community.
      </p>
      <p class="uk-text-right" uk-margin>
        <button class="uk-button esm-button uk-modal-close uk-width-auto@m uk-width-1-1" type="button">Cancel</button>
        <%= link_to "Delete #{current_community.community_id}", community_path(current_community.public_id), class: "uk-button esm-button-danger uk-modal-close uk-width-auto@m uk-width-1-1", method: :delete %>
      </p>
    </div>
  </div>
</div>
All opinions represented herein are my own
- © 2024 itsthedevman
- build 340fbb8