Register

<%= form_for @changeset, registration_path(@conn, :create), [class: "create-registration"], fn f -> %> <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

<% end %>
<%= input f, :username %>
<%= input f, :password, as: :password %>
<%= submit "Register", class: "btn btn-primary" %>
<% end %>