25 lines
802 B
Elixir
25 lines
802 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="form-group row">
|
|
<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="form-group row">
|
|
<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="form-group row">
|
|
<div class="col-sm-10">
|
|
<%= submit "Log In", class: "btn btn-primary" %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|