mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-24 23:31:00 +00:00
11 lines
377 B
Elixir
11 lines
377 B
Elixir
<%= if @error do %>
|
|
<h2>Error: <%= @error %></h2>
|
|
<% else %>
|
|
<h2>Remotely follow <%= @nickname %></h2>
|
|
<%= form_for @conn, util_path(@conn, :remote_subscribe), [as: "user"], fn f -> %>
|
|
<%= hidden_input f, :nickname, value: @nickname %>
|
|
<%= text_input f, :profile, placeholder: "Your account ID, e.g. lain@quitter.se" %>
|
|
<%= submit "Follow" %>
|
|
<% end %>
|
|
<% end %>
|