2019-11-09 18:21:45 +00:00
|
|
|
<h1>Login</h1>
|
|
|
|
|
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 %>
|
2022-09-14 02:25:11 +00:00
|
|
|
<div class="row mb-2">
|
2019-04-01 16:24:22 +00:00
|
|
|
<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>
|
2019-03-23 23:42:38 +00:00
|
|
|
</div>
|
2022-09-14 02:25:11 +00:00
|
|
|
<div class="row mb-2">
|
2019-04-01 16:24:22 +00:00
|
|
|
<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>
|
2019-03-23 23:42:38 +00:00
|
|
|
</div>
|
2022-09-14 02:25:11 +00:00
|
|
|
<div class="row mb-2">
|
2019-04-01 16:24:22 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<%= submit "Log In", class: "btn btn-primary" %>
|
|
|
|
</div>
|
2019-03-23 23:42:38 +00:00
|
|
|
</div>
|
2019-11-09 18:21:45 +00:00
|
|
|
<% end %>
|