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

11 lines
303 B
Elixir
Raw Normal View History

2017-11-12 13:23:05 +00:00
<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 %>