Not displayed because the if statement applies to the entire text field, not just the value attribute. This will work:
<% if current_user %>
<%= f.text_field :email, required: true, class: 'form-control', value:current_user.email %>
<% else %>
<%= f.text_field :email, required: true, class: 'form-control'%>
<% end %>
However, if you use devise, it combines with a helper method, which is usually better for the user than current_user. I think your code should be as follows:
<% if user_signed_in? %>
<%= f.text_field :email, required: true, class: 'form-control', value:current_user.email %>
<% else %>
<%= f.text_field :email, required: true, class: 'form-control'%>
<% end %>