From a26dd9284352000cca6338b68c03594dcd900494 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 2 Nov 2018 16:26:59 +0100 Subject: WIP for file upload (Merkle tree for signatures) --- shardweb/lib/templates/directory/view.html.eex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shardweb') diff --git a/shardweb/lib/templates/directory/view.html.eex b/shardweb/lib/templates/directory/view.html.eex index 2d185eb..ef8200b 100644 --- a/shardweb/lib/templates/directory/view.html.eex +++ b/shardweb/lib/templates/directory/view.html.eex @@ -52,7 +52,7 @@ <%= render ShardWeb.PageView, "shard_entry.html", conn: @conn, manifest: manifest, pk: @pk %> - <%= form_for @conn, directory_path(@conn, :dir_rm), [class: "form-inline", style: "display: inline"], fn f -> %> + <%= form_for @conn, directory_path(@conn, :dir_rm), [class: "form-inline", style: "display: inline", onsubmit: "return confirm('Remove this item?');"], fn f -> %> <%= hidden_input f, :dir_name, value: @name %> <%= hidden_input f, :dir_public, value: @public %> <%= hidden_input f, :item_name, value: name %> @@ -99,7 +99,7 @@
- +
-- cgit v1.2.3