2018-12-20 21:32:09 +00:00
|
|
|
<% content_for "header" do %>
|
|
|
|
<title><%= translate(locale, "Clear watch history") %> - Invidious</title>
|
|
|
|
<% end %>
|
|
|
|
|
2018-11-08 06:12:14 +00:00
|
|
|
<div class="h-box">
|
|
|
|
<form class="pure-form pure-form-aligned" action="/clear_watch_history?referer=<%= URI.escape(referer) %>" method="post">
|
2018-12-20 21:32:09 +00:00
|
|
|
<legend><%= translate(locale, "Clear watch history?") %></legend>
|
2018-11-08 06:12:14 +00:00
|
|
|
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-1-2">
|
2018-12-20 21:32:09 +00:00
|
|
|
<button type="submit" name="submit" value="clear_watch_history" class="pure-button pure-button-primary">
|
|
|
|
<%= translate(locale, "Yes") %>
|
|
|
|
</button>
|
2018-11-08 06:12:14 +00:00
|
|
|
</div>
|
|
|
|
<div class="pure-u-1-2">
|
2019-05-03 17:15:21 +00:00
|
|
|
<a class="pure-button" href="<%= URI.escape(referer) %>">
|
2018-12-20 21:32:09 +00:00
|
|
|
<%= translate(locale, "No") %>
|
|
|
|
</a>
|
2018-11-08 06:12:14 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-04-18 21:23:50 +00:00
|
|
|
<input type="hidden" name="csrf_token" value="<%= URI.escape(csrf_token) %>">
|
2018-11-08 06:12:14 +00:00
|
|
|
</form>
|
|
|
|
</div>
|