25 lines
784 B
Elixir
25 lines
784 B
Elixir
<h1>Login</h1>
|
|
|
|
<%= form_tag Routes.login_path(@conn, :login_post), method: :post do %>
|
|
<%= if @continue do %>
|
|
<input type="hidden" name="continue" value="<%= @continue %>">
|
|
<% end %>
|
|
<div class="row mb-2">
|
|
<label for="username" class="col-sm-2 col-form-label">Username</label>
|
|
<div class="col-sm-10">
|
|
<input type="text" name="username" id="username" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="row mb-2">
|
|
<label for="password" class="col-sm-2 col-form-label">Password</label>
|
|
<div class="col-sm-10">
|
|
<input type="password" name="password" id="password" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="row mb-2">
|
|
<div class="col-sm-10">
|
|
<%= submit "Log In", class: "btn btn-primary" %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|