<%= render_form_for() do |form| %> <%= form.label :email %> <%= form.text_field %> <%= form.password_field %> <%= form.submit "Submit" %> <% end %>