pleroma/lib/pleroma/web/templates/mastodon_api/mastodon/login.html.eex

11 lines
303 B
Elixir

<h2>Login in to Mastodon Frontend</h2>
<%= form_for @conn, mastodon_api_path(@conn, :login), [as: "authorization"], fn f -> %>
<%= label f, :name, "Name" %>
<%= text_input f, :name %>
<br>
<%= label f, :password, "Password" %>
<%= password_input f, :password %>
<br>
<%= submit "Authorize" %>
<% end %>