aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web/templates
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-10-11 15:11:52 +0200
committerAlex Auvolat <alex@adnab.me>2018-10-11 15:11:52 +0200
commit1646bc57eae9880fd408d23ca692364dc6fd6442 (patch)
tree0f65d47498f33772152b20ee082d34e218f16df4 /shardweb/lib/shard_web/templates
parenteb8c949551ffb8b3600357d7ff2bebe750af96e5 (diff)
downloadshard-1646bc57eae9880fd408d23ca692364dc6fd6442.tar.gz
shard-1646bc57eae9880fd408d23ca692364dc6fd6442.zip
Move somme functionnality to SNet.Manager
Diffstat (limited to 'shardweb/lib/shard_web/templates')
-rw-r--r--shardweb/lib/shard_web/templates/identity/view.html.eex2
-rw-r--r--shardweb/lib/shard_web/templates/page/index.html.eex2
2 files changed, 2 insertions, 2 deletions
diff --git a/shardweb/lib/shard_web/templates/identity/view.html.eex b/shardweb/lib/shard_web/templates/identity/view.html.eex
index b9210f2..7252f7c 100644
--- a/shardweb/lib/shard_web/templates/identity/view.html.eex
+++ b/shardweb/lib/shard_web/templates/identity/view.html.eex
@@ -35,6 +35,6 @@
<% end %>
</ul>
-<%= form_for @conn, identity_path(@conn, :create), [class: "form-inline"], fn f -> %>
+<%= form_for @conn, identity_path(@conn, :create), [class: "form-inline"], fn _f -> %>
<%= submit "Create new identity", [class: "btn btn-danger"] %>
<% end %>
diff --git a/shardweb/lib/shard_web/templates/page/index.html.eex b/shardweb/lib/shard_web/templates/page/index.html.eex
index 34441e5..44a8aa0 100644
--- a/shardweb/lib/shard_web/templates/page/index.html.eex
+++ b/shardweb/lib/shard_web/templates/page/index.html.eex
@@ -6,7 +6,7 @@
<th>Address</th>
<th>Port</th>
</tr>
- <%= for {{:inet, ip, port}, pid, auth} <- conn_list() do %>
+ <%= for {{:inet, ip, port}, _pid, auth} <- conn_list() do %>
<tr>
<td>
<%= case auth do %>