Some checks failed
Ruby on Rails Test / rails-test (push) Failing after 1m50s
- Promoter can now create an event in draft mode - Place is found based on address and long/lat are automatically deducted from it - Slug is forged using the *slug* npm package instead of custom code
18 lines
861 B
Plaintext
18 lines
861 B
Plaintext
<!-- Delete Account Section -->
|
|
<div class="bg-white py-8 px-6 shadow-xl rounded-2xl">
|
|
<h3 class="text-xl font-semibold text-gray-900 mb-4">Supprimer mon compte</h3>
|
|
<p class="text-gray-600 mb-6">
|
|
Vous êtes certain de vouloir supprimer votre compte ? Cette action est irréversible.
|
|
</p>
|
|
<%= button_to registration_path(resource_name),
|
|
data: {
|
|
confirm: "Êtes-vous certain ?",
|
|
turbo_confirm: "Êtes-vous certain ?"
|
|
},
|
|
method: :delete,
|
|
class: "group relative w-full flex justify-center items-center py-3 px-4 border border-red-300 text-sm font-semibold rounded-xl text-red-700 bg-red-50 hover:bg-red-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 transition-all duration-200" do %>
|
|
<i data-lucide="trash-2" class="w-4 h-4 mr-2"></i>
|
|
Supprimer mon compte
|
|
<% end %>
|
|
</div>
|