<%= @view_nick %> <%= @view_pk |> Base.encode16 %>

<%= render ShardWeb.LayoutView, "flashes.html", assigns %> <%= if is_friend(@conn, @view_pk) do %> <%= form_for @conn, identity_path(@conn, :view_post, @view_pk|>Base.encode16()), [class: "form-inline"], fn f -> %> <%= hidden_input f, :rm_friend, value: "true" %> <%= submit "Remove from friends", [class: "btn btn-sm btn-danger"] %> <% end %> <% else %> <%= form_for @conn, identity_path(@conn, :view_post, @view_pk|>Base.encode16()), [class: "form-inline"], fn f -> %> <%= hidden_input f, :add_friend, value: "true" %> <%= submit "Add to friends", [class: "btn btn-sm btn-success"] %> <% end %> <% end %>
  <%= inspect(SApp.Identity.get_info(@pid), pretty: true, width: 40) %>