15 lines
458 B
Elixir
15 lines
458 B
Elixir
|
<% 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 %>
|