= form_for [:case_workers, :admin, @case_worker], builder: AdpFormBuilder do |f|
  = f.fields_for :user do |user_fields|
    %fieldset
      %legend
        = 'Case worker details'

      = f.adp_text_field :first_name,
                          label: t('.first_name')

      = f.adp_text_field :last_name,
                          label: t('.last_name')

      = f.adp_text_field :email,
                          label: t('.email'),
                          input_classes: 'long-input'

      - if @case_worker.new_record?
        = f.adp_text_field :email_confirmation,
                          label: t('.email_confirmation')
      %fieldset.inline
        %legend
          = 'Location'
        .form-group
          = f.collection_radio_buttons(:location_id, Location.all, :id, :name) do |b|
            - b.label(class: "block-label") { b.radio_button + b.object.name }

      %fieldset.inline
        %legend
          = 'Roles'
        .form-group
          = f.collection_check_boxes(:roles, CaseWorker::ROLES, :to_s, :to_s) do |b|
            - b.label(class: "block-label") { b.check_box + b.value.humanize }

    = f.submit 'Save', class: "button"

= form_for [:case_workers, :admin, @case_worker], builder: AdpFormBuilder do |f|
  = f.fields_for :user do |user_fields|
    %fieldset
      %legend
        = 'Case worker details'

      = user_fields.adp_text_field :first_name, label: t('.first_name')

      = user_fields.adp_text_field :last_name, label: t('.last_name')

      = user_fields.adp_text_field :email, label: t('.email')

      - if @case_worker.new_record?
        = user_fields.adp_text_field :email_confirmation, label: t('.email_confirmation')

      %fieldset.inline
        %legend
          = 'Location'
        .form-group
          = f.collection_radio_buttons(:location_id, Location.all, :id, :name) do |b|
            - b.label(class: "block-label") { b.radio_button + b.object.name }

      %fieldset.inline
        %legend
          = 'Roles'
        .form-group
          = f.collection_check_boxes(:roles, CaseWorker::ROLES, :to_s, :to_s) do |b|
            - b.label(class: "block-label") { b.check_box + b.value.humanize }

    = f.submit 'Save', class: "button"

Use the proper form accessor.
Use the proper form accessor.
