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