<%= form.text_field :email, :value => @customer.email_primary %>
I need to put an if check before the value so that it does not pass if the client is not logged in. I know that if is, if logged_in?, but I cannot get my syntax correctly.
source
share