ユーザーのメールを受け取るフィールドがあります
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
<div class = "field">Email:
<%= f.email_field :email, :class => "email" %></div>
<% end %>
ページを読み込むたびに、電子メールのテキスト ボックスが'
既に挿入されており、ユーザーはそれを削除して電子メールを適切に挿入する必要があります。
クロムを使用する要素を期待するとき。メール フィールドの値が であることがわかります"'"
。どうすれば削除できますか? 前もって感謝します
編集:
ユーザー.rb
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :token_authenticatable, :confirmable,
# :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
# Setup accessible (or protected) attributes for your model
attr_accessible :email, :password, :password_confirmation, :remember_me, :username, :firstname, :lastname
# attr_accessible :title, :body
end