forked from AkkomaGang/akkoma
8 lines
282 B
Elixir
8 lines
282 B
Elixir
<h2>Login in to Mastodon Frontend</h2>
|
|
<%= form_for @conn, mastodon_api_path(@conn, :login), [as: "authorization"], fn f -> %>
|
|
<%= text_input f, :name, placeholder: "Username" %>
|
|
<br>
|
|
<%= password_input f, :password, placeholder: "Password" %>
|
|
<br>
|
|
<%= submit "Log in" %>
|
|
<% end %>
|