add username field, make it main log-in method

This commit is contained in:
2021-10-11 15:04:46 +02:00
parent 14aefe45ce
commit 016b0b78bd
8 changed files with 39 additions and 22 deletions
@@ -7,6 +7,10 @@
</div>
<% end %>
<%= label f, :username %>
<%= text_input f, :username, required: true %>
<%= error_tag f, :username %>
<%= label f, :email %>
<%= email_input f, :email, required: true %>
<%= error_tag f, :email %>