Login in to Mastodon Frontend
<%= if @error do %>
<%= @error %>
<% end %>
<%= form_for @conn, mastodon_api_path(@conn, :login), [as: "authorization"], fn f -> %>
<%= text_input f, :name, placeholder: "Username or email" %>
<%= password_input f, :password, placeholder: "Password" %>
<%= submit "Log in" %>
<% end %>