mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-10-30 13:33:12 +00:00
6cb40bee26
Closes #612 Co-authored-by: tusooa <tusooa@kazv.moe> Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/626 Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk> Co-committed-by: FloatingGhost <hannah@coffee-and-dreams.uk>
12 lines
595 B
Elixir
12 lines
595 B
Elixir
<%= if @error == :error do %>
|
|
<h2><%= Gettext.dpgettext("static_pages", "remote follow error", "Error fetching user") %></h2>
|
|
<% else %>
|
|
<h2><%= Gettext.dpgettext("static_pages", "remote follow header", "Remote follow") %></h2>
|
|
<img height="128" width="128" src="<%= avatar_url(@followee) %>">
|
|
<p><%= @followee.nickname %></p>
|
|
<%= form_for @conn, ~p"/ostatus_subscribe", [as: "user"], fn f -> %>
|
|
<%= hidden_input f, :id, value: @followee.id %>
|
|
<%= submit Gettext.dpgettext("static_pages", "remote follow authorization button", "Authorize") %>
|
|
<% end %>
|
|
<% end %>
|