<div id="already-registered" uk-modal="bg-close:false" uk-modal> <div class="uk-modal-dialog"> <div class="uk-modal-header"> <h2 class="uk-modal-title">Account already registered</h2> </div> <div class="uk-modal-body"> <strong class="esm-text-color-red">It looks like the provided Steam account is already registered with ESM</strong> <p> Exile Server Manager only allows a Steam account to be registered once, but don't worry! </p> <p> If you'd like to transfer the Steam account to this Discord account, click <strong>Transfer Account</strong>. <br> <small>This will de-register the other account</small> </p> <p> If this was a mistake or you'd like to do nothing, click <strong>Cancel</strong> </p> <div class="uk-text-right" uk-margin> <%= link_to "Cancel", cancel_transfer_user_path(current_user.discord_id), class: "uk-button esm-button uk-modal-close", remote: true, method: :post %> <%= link_to "Transfer Account", transfer_account_user_path(current_user.discord_id), class: "uk-button esm-button-danger" %> </div> </div> </div> </div>