New User

<%= form_for @changeset, Routes.user_path(@conn, :create), fn f -> %> <%= if @changeset.action do %>

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

<% end %>
<%= text_input f, :name, placeholder: "Name" %> <%= error_tag f, :name %>
<%= text_input f, :username, placeholder: "Username" %> <%= error_tag f, :username %>
<%= submit "Create User" %> <% end %>