mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-05 08:03:11 +00:00
beb13bf3a9
This reverts commit b259b4e4d1
.
12 lines
364 B
Elixir
12 lines
364 B
Elixir
<%= if @error == :error do %>
|
|
<h2>Error fetching user</h2>
|
|
<% else %>
|
|
<h2>Remote follow</h2>
|
|
<img width="128" height="128" src="<%= @avatar %>">
|
|
<p><%= @name %></p>
|
|
<%= form_for @conn, util_path(@conn, :do_remote_follow), [as: "user"], fn f -> %>
|
|
<%= hidden_input f, :id, value: @id %>
|
|
<%= submit "Authorize" %>
|
|
<% end %>
|
|
<% end %>
|