You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
337 B
12 lines
337 B
<h2>Login in 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" %>
|
|
<br>
|
|
<%= password_input f, :password, placeholder: "Password" %>
|
|
<br>
|
|
<%= submit "Log in" %>
|
|
<% end %>
|