mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-15 03:46:37 +00:00
beb13bf3a9
This reverts commit b259b4e4d1
.
15 lines
443 B
Elixir
15 lines
443 B
Elixir
<%= if @error do %>
|
|
<h2><%= @error %></h2>
|
|
<% end %>
|
|
<h2>Log in to follow</h2>
|
|
<p><%= @name %></p>
|
|
<img height="128" width="128" src="<%= @avatar %>">
|
|
<%= form_for @conn, util_path(@conn, :do_remote_follow), [as: "authorization"], fn f -> %>
|
|
<%= text_input f, :name, placeholder: "Username" %>
|
|
<br>
|
|
<%= password_input f, :password, placeholder: "Password" %>
|
|
<br>
|
|
<%= hidden_input f, :id, value: @id %>
|
|
<%= submit "Authorize" %>
|
|
<% end %>
|