22 lines
785 B
Elixir
22 lines
785 B
Elixir
<%= 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 %> |