Add styles to make login page resemble mastodon's
This commit is contained in:
parent
8de890a0d9
commit
189513e4ff
2 changed files with 67 additions and 7 deletions
|
|
@ -1,10 +1,8 @@
|
|||
<h2>Login in to Mastodon Frontend</h2>
|
||||
<%= form_for @conn, mastodon_api_path(@conn, :login), [as: "authorization"], fn f -> %>
|
||||
<%= label f, :name, "Name" %>
|
||||
<%= text_input f, :name %>
|
||||
<%= text_input f, :name, placeholder: "Username" %>
|
||||
<br>
|
||||
<%= label f, :password, "Password" %>
|
||||
<%= password_input f, :password %>
|
||||
<%= password_input f, :password, placeholder: "Password" %>
|
||||
<br>
|
||||
<%= submit "Authorize" %>
|
||||
<%= submit "Log in" %>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue