forked from midou/invidious
25 lines
924 B
Plaintext
25 lines
924 B
Plaintext
<% content_for "header" do %>
|
|
<title><%= translate(locale, "Delete account") %> - Invidious</title>
|
|
<% end %>
|
|
|
|
<div class="h-box">
|
|
<form class="pure-form pure-form-aligned" action="/delete_account?referer=<%= URI.escape(referer) %>" method="post">
|
|
<legend><%= translate(locale, "Delete account?") %></legend>
|
|
|
|
<div class="pure-g">
|
|
<div class="pure-u-1-2">
|
|
<button type="submit" name="submit" value="delete_account" class="pure-button pure-button-primary">
|
|
<%= translate(locale, "Yes") %>
|
|
</button>
|
|
</div>
|
|
<div class="pure-u-1-2">
|
|
<a class="pure-button" href="<%= URI.escape(referer) %>">
|
|
<%= translate(locale, "No") %>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<input type="hidden" name="csrf_token" value="<%= URI.escape(csrf_token) %>">
|
|
</form>
|
|
</div>
|