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

16 lines
518 B
Elixir
Raw Normal View History

2019-03-23 23:42:38 +00:00
<%= form_tag Routes.login_path(@conn, :login_post), method: :post do %>
2019-03-28 21:11:25 +00:00
<%= if @continue do %>
<input type="hidden" name="continue" value="<%= @continue %>">
<% end %>
2019-03-23 23:42:38 +00:00
<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 %>