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