<%= @nick %> <%= @pk |> Base.encode16 %>

<%= render ShardWeb.LayoutView, "flashes.html", assigns %> <%= form_for @conn, identity_path(@conn, :update), [class: "form-horizontal"], fn f -> %>
<%= label :nick, "Nickname:", class: ["col-sm-2 control-label"] %>
<%= text_input f, :nick, [class: "form-control", value: @nick] %>
<%= submit "Update", [class: "btn btn-default"] %>
<% end %>

Other identities

<%= form_for @conn, identity_path(@conn, :create), [class: "form-inline"], fn _f -> %> <%= submit "Create new identity", [class: "btn btn-danger"] %> <% end %>