frenzy/lib/frenzy_web/templates/login/login.html.eex

25 lines
802 B
Elixir
Raw Normal View History

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 %>
2019-04-01 16:24:22 +00:00
<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>
2019-03-23 23:42:38 +00:00
</div>
2019-04-01 16:24:22 +00:00
<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>
2019-03-23 23:42:38 +00:00
</div>
2019-04-01 16:24:22 +00:00
<div class="form-group row">
<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 %>