mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 11:34:15 +00:00
12 lines
343 B
Elixir
12 lines
343 B
Elixir
<h2>Login to Mastodon Frontend</h2>
|
|
<%= if @error do %>
|
|
<h2><%= @error %></h2>
|
|
<% end %>
|
|
<%= form_for @conn, mastodon_api_path(@conn, :login), [as: "authorization"], fn f -> %>
|
|
<%= text_input f, :name, placeholder: "Username or email" %>
|
|
<br>
|
|
<%= password_input f, :password, placeholder: "Password" %>
|
|
<br>
|
|
<%= submit "Log in" %>
|
|
<% end %>
|