users: drop email column.

This commit is contained in:
evazion
2020-03-25 02:51:30 -05:00
parent ea8cdadce9
commit 4b1114b4a4
4 changed files with 9 additions and 11 deletions

View File

@@ -8,7 +8,7 @@
<%= edit_form_for(@user, url: user_email_path(@user)) do |f| %>
<%= f.input :password %>
<%= f.input :email %>
<%= f.input :email, as: :email, input_html: { value: "" } %>
<%= f.submit "Save" %>
<% end %>
</div>

View File

@@ -15,7 +15,7 @@
<div id="p3">
<%= edit_form_for(@user, html: { id: "signup-form" }) do |f| %>
<%= f.input :name, as: :string %>
<%= f.input :email, label: "Email", required: false, as: :email, hint: "Optional" %>
<%= f.input :email, label: "Email", required: false, as: :email, input_html: { value: "" }, hint: "Optional" %>
<%= f.input :password %>
<%= f.input :password_confirmation %>