mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
25 lines
982 B
Text
25 lines
982 B
Text
<% content_for "header" do %>
|
|
<title><%= translate(locale, "Clear watch history") %> - Invidious</title>
|
|
<% end %>
|
|
|
|
<div class="h-box">
|
|
<form class="pure-form pure-form-aligned" action="/clear_watch_history?referer=<%= URI.escape(referer) %>" method="post">
|
|
<legend><%= translate(locale, "Clear watch history?") %></legend>
|
|
|
|
<div class="pure-g">
|
|
<div class="pure-u-1-2">
|
|
<button type="submit" name="submit" value="clear_watch_history" class="pure-button pure-button-primary">
|
|
<%= translate(locale, "Yes") %>
|
|
</button>
|
|
</div>
|
|
<div class="pure-u-1-2">
|
|
<a class="pure-button" href="<%= referer %>">
|
|
<%= translate(locale, "No") %>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<input type="hidden" name="token" value="<%= token %>">
|
|
<input type="hidden" name="challenge" value="<%= challenge %>">
|
|
</form>
|
|
</div>
|