clacks/lib/clacks_web/templates/login/login.html.eex

16 lines
507 B
Elixir

<%= form_tag Routes.login_path(@conn, :login_post), method: :post, class: "login-form" do %>
<%= if @continue do %>
<input type="hidden" name="continue" value="<%= @continue %>">
<% end %>
<div class="input-group">
<label for="username">Username:</label>
<input id="username" type="text" name="username">
</div>
<div class="input-group">
<label for="password">Password:</label>
<input id="password" type="password" name="password">
</div>
<%= submit "Log In" %>
<% end %>