2018-02-01 22:00:48 +00:00
|
|
|
<%= if @error do %>
|
2022-02-21 23:42:25 +00:00
|
|
|
<h2><%= Gettext.dpgettext("static_pages", "remote follow error", "Error: %{error}", error: @error) %></h2>
|
2018-02-01 22:00:48 +00:00
|
|
|
<% else %>
|
2022-02-21 23:42:25 +00:00
|
|
|
<h2><%= Gettext.dpgettext("static_pages", "remote follow header", "Remotely follow %{nickname}", nickname: @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 %>
|
2022-02-21 23:42:25 +00:00
|
|
|
<%= text_input f, :profile, placeholder: Gettext.dpgettext("static_pages", "placeholder text for account id", "Your account ID, e.g. lain@quitter.se") %>
|
|
|
|
<%= submit Gettext.dpgettext("static_pages", "remote follow authorization button for following with a remote account", "Follow") %>
|
2018-02-01 22:00:48 +00:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|