diff options
author | Alex Auvolat <alex@adnab.me> | 2018-11-02 16:26:59 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-11-02 16:26:59 +0100 |
commit | a26dd9284352000cca6338b68c03594dcd900494 (patch) | |
tree | b51c1a9ba734d0fba9a7d4a97df4ddca85dafbca /shardweb/lib/templates | |
parent | 353769402b6fd2ca4ea1807c2733e161a768f85e (diff) | |
download | shard-a26dd9284352000cca6338b68c03594dcd900494.tar.gz shard-a26dd9284352000cca6338b68c03594dcd900494.zip |
WIP for file upload (Merkle tree for signatures)
Diffstat (limited to 'shardweb/lib/templates')
-rw-r--r-- | shardweb/lib/templates/directory/view.html.eex | 4 |
1 files changed, 2 insertions, 2 deletions
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 %> </td> <td> - <%= 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 @@ <label><%= radio_button f, :add_stored, "yes" %>Stored <i class="fa fa-save"></i></label> </div> <div class="radio"> - <label><%= radio_button f, :add_stored, "no" %>Linked <i class="fa fa-link"></i></label> + <label><%= radio_button f, :add_stored, "no", [checked: true] %>Linked <i class="fa fa-link"></i></label> </div> </div> </div> |