Add Mastodon frontend.

This commit is contained in:
Roger Braun 2017-11-12 14:23:05 +01:00
commit d293ceb1b5
170 changed files with 206601 additions and 5 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,10 @@
<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 %>
<br>
<%= label f, :password, "Password" %>
<%= password_input f, :password %>
<br>
<%= submit "Authorize" %>
<% end %>