mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-06 08:33:11 +00:00
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 %>
|