akkoma/lib/pleroma/web/templates/mastodon_api/mastodon/login.html.eex
2017-11-12 14:23:05 +01:00

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 %>