Register
<%= form_for @changeset, Routes.user_registration_path(@conn, :create), fn f -> %>
<%= if @changeset.action do %>
Oops, something went wrong! Please check the errors below.
<% end %>
<%= text_input f, :username, required: true, placeholder: "Username" %>
<%= error_tag f, :username %>
<%= text_input f, :email, required: true, placeholder: "E-mail" %>
<%= error_tag f, :email %>
<%= password_input f, :password, required: true, placeholder: "Password" %>
<%= error_tag f, :password %>
Can you answer the following expression to confirm you are not a basic robot?
<%= @captcha %> =
<%= text_input f, :captcha, placeholder: "Captcha" %>
<%= error_tag f, :captcha %>
<%= submit "Register" %>
<% end %>