<ol class="breadcrumb">
  <li><%= link_to current_user.email, root_path %></li>
  <li><%= link_to @current_applicant.description, @current_applicant %></li>
  <li><%= @residence.description %></li>
</ol>

<%= render 'section_tabs', active_section: :residence_history %>

<%= bootstrap_form_for(@residence) do |f| %>

  <h2>Time period</h2>
  <%= render "fields", f: f %>

  <h2>Residence Address</h2>
  <%= f.fields_for :address do |a| %>
    <%= render "addresses/fields", builder: a %>
  <% end %>

  <h2>Landlord</h2>
  <%= f.fields_for :landlord do |l| %>
    <%= render "people/name", builder: l %>
    <%= render "people/contact", builder: l %>
    <h3>Landlord's address</h2>
    <%= l.fields_for :mail_address do |m| %>
      <%= render "addresses/fields", builder: m %>
    <% end %>
  <% end %>
  <%= render "buttons_update_back", f: f %>
<% end %>

<ol class="breadcrumb">
  <li><%= link_to current_user.email, root_path %></li>
  <li><%= link_to @current_applicant.description, @current_applicant %></li>
  <li><%= @residence.description %></li>
</ol>

<%= render 'section_tabs', active_section: :residence_history %>

<%= bootstrap_form_for(@residence) do |f| %>

  <div class="row">

    <div class="col-md-4">
      <h2>Time period</h2>
      <%= render "fields", f: f %>

      <h2>Residence Address</h2>
      <%= f.fields_for :address do |a| %>
        <%= render "addresses/fields", builder: a %>
      <% end %>
    </div>

    <div class="col-md-4">
      <h2>Landlord</h2>
      <%= f.fields_for :landlord do |l| %>
        <%= render "people/name", builder: l %>
        <%= render "people/contact", builder: l %>
      <% end%>
    </div>
    <div class="col-md-4">
      <h3>Landlord's address</h2>
      <%= f.fields_for :landlord do |l| %>
        <%= l.fields_for :mail_address do |m| %>
          <%= render "addresses/fields", builder: m %>
        <% end %>
      <% end %>
    </div>

  </div>

  <%= render "buttons_update_back", f: f %>
<% end %>

Break residence edit screen into columns
Break residence edit screen into columns
