Create action_fallback for username/password incorrect input

This commit is contained in:
Calv Collins 2018-02-08 16:57:30 +00:00
commit bdb5dd2194
3 changed files with 26 additions and 0 deletions

View file

@ -1,3 +1,5 @@
<p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
<p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
<h2>OAuth Authorization</h2>
<%= form_for @conn, o_auth_path(@conn, :authorize), [as: "authorization"], fn f -> %>
<%= label f, :name, "Name" %>