<%= gettext "Register" %>

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

<%= gettext "Oops, something went wrong! Please check the errors below." %>

<% end %>
<%= input f, :name %>
<%= input f, :email, as: :email %>

<%= gettext("Your email address will only ever be used to send you notifications of new games and moves.") %>

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