10 lines
303 B
Elixir
10 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 %>
|