Using 2 different models on a same html Forms

How will the view code part based on Class-based view will look like if i have for example this 2 models
Class Student with two columns name and last_name
Class City name and street
The form will be in a html file, in this case it will have the 4 inputs,