diff options
Diffstat (limited to 'shardweb/lib')
-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> |