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