frenzy/lib/frenzy_web/templates/login/login.html.eex

15 lines
458 B
Elixir
Raw Normal View History

2019-03-23 23:42:38 +00:00
<% IO.inspect(get_flash(@conn, :error)) %>
<%= form_tag Routes.login_path(@conn, :login_post), method: :post do %>
<div class="form-group">
<label for="username">Username</label>
<input type="text" name="username" id="username">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" name="password" id="password">
</div>
<div class="form-group">
<%= submit "Log In" %>
</div>
<% end %>