2018-12-21 03:02:09 +05:30
|
|
|
<% content_for "header" do %>
|
|
|
|
<title><%= translate(locale, "Delete account") %> - Invidious</title>
|
|
|
|
<% end %>
|
|
|
|
|
2018-11-08 11:42:14 +05:30
|
|
|
<div class="h-box">
|
|
|
|
<form class="pure-form pure-form-aligned" action="/delete_account?referer=<%= URI.escape(referer) %>" method="post">
|
2018-12-21 03:02:09 +05:30
|
|
|
<legend><%= translate(locale, "Delete account?") %></legend>
|
2018-11-08 11:42:14 +05:30
|
|
|
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-1-2">
|
2018-12-21 03:02:09 +05:30
|
|
|
<button type="submit" name="submit" value="delete_account" class="pure-button pure-button-primary">
|
|
|
|
<%= translate(locale, "Yes") %>
|
|
|
|
</button>
|
2018-11-08 11:42:14 +05:30
|
|
|
</div>
|
|
|
|
<div class="pure-u-1-2">
|
2018-12-21 03:02:09 +05:30
|
|
|
<a class="pure-button" href="<%= referer %>">
|
|
|
|
<%= translate(locale, "No") %>
|
|
|
|
</a>
|
2018-11-08 11:42:14 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-04-16 09:53:40 +05:30
|
|
|
<input type="hidden" name="token" value="<%= URI.escape(token) %>">
|
2018-11-08 11:42:14 +05:30
|
|
|
</form>
|
|
|
|
</div>
|