2017-11-12 06:23:05 -07:00
|
|
|
<h2>Login in to Mastodon Frontend</h2>
|
|
|
|
<%= form_for @conn, mastodon_api_path(@conn, :login), [as: "authorization"], fn f -> %>
|
2017-11-16 04:26:56 -07:00
|
|
|
<%= text_input f, :name, placeholder: "Username" %>
|
2017-11-12 06:23:05 -07:00
|
|
|
<br>
|
2017-11-16 04:26:56 -07:00
|
|
|
<%= password_input f, :password, placeholder: "Password" %>
|
2017-11-12 06:23:05 -07:00
|
|
|
<br>
|
2017-11-16 04:26:56 -07:00
|
|
|
<%= submit "Log in" %>
|
2017-11-12 06:23:05 -07:00
|
|
|
<% end %>
|