branch
[akkoma] / lib / pleroma / web / templates / twitter_api / util / follow_login.html.eex
1 <%= if @error do %>
2 <h2><%= @error %></h2>
3 <% end %>
4 <h2>Log in to follow</h2>
5 <p><%= @name %></p>
6 <img height="128" width="128" src="<%= @avatar %>">
7 <%= form_for @conn, util_path(@conn, :do_remote_follow), [as: "authorization"], fn f -> %>
8 <%= text_input f, :name, placeholder: "Username" %>
9 <br>
10 <%= password_input f, :password, placeholder: "Password" %>
11 <br>
12 <%= hidden_input f, :id, value: @id %>
13 <%= submit "Authorize" %>
14 <% end %>