2018-02-01 22:00:48 +00:00
|
|
|
<%= if @error do %>
|
|
|
|
<h2>Error: <%= @error %></h2>
|
|
|
|
<% else %>
|
|
|
|
<h2>Remotely follow <%= @nickname %></h2>
|
2021-05-18 22:11:25 +00:00
|
|
|
<%= form_for @conn, Routes.util_path(@conn, :remote_subscribe), [as: "user"], fn f -> %>
|
2018-02-01 22:00:48 +00:00
|
|
|
<%= hidden_input f, :nickname, value: @nickname %>
|
|
|
|
<%= text_input f, :profile, placeholder: "Your account ID, e.g. lain@quitter.se" %>
|
|
|
|
<%= submit "Follow" %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|