.modal#send-application
  .content
    h2
      = t '.title'
      a.close-modal(href='#')
    .item-block
      .applicant-details
        p.name = @user.full_name
        p.email = @user.email
        p.phone = @user.phone
    .hr

    = form_for @position_application, url: call_position_applications_path(format: :fragment), class: 'send-application' do |f|
      = f.hidden_field :user_id
      .item-row
        span.label = t '.apply_to'
        span.buttons
          - [:position_member, :position_deputy, :position_both].each do |position_value|
            label.btn
              = f.radio_button :position, position_value, checked: (position_value == :position_member)
              span = PositionApplication.human_attribute_name(position_value)
        = f.text_field :deputy_of, placeholder:  PositionApplication.human_attribute_name(:deputy_of), class: 'field half', style: 'display:none;'
      = f.text_area :personal_statement, placeholder: PositionApplication.human_attribute_name(:personal_statement), class: 'wide'
      .button-row
        a.cancel.close-modal.btn(href='#') = t 'modals.cancel'
        input.submit.js-submit.btn(type='submit' value="#{t 'modals.send'}")

.modal#send-application
  .content
    h2
      = t '.title'
      a.close-modal(href='#')
    .item-block
      .applicant-details
        p.name = @user.full_name
        p.email = @user.email
        p.phone = @user.phone
    .hr

    = form_for @position_application, url: call_position_applications_path(format: :fragment), class: 'send-application' do |f|
      = f.hidden_field :user_id
      .item-row
        span.label = t '.apply_to'
        span.buttons
          - [:position_member, :position_deputy, :position_both].each do |position_value|
            - selected = position_value == :position_member
            label.btn(class="#{'checked' if selected}")
              = f.radio_button :position, position_value, checked: selected
              span = PositionApplication.human_attribute_name(position_value)
        = f.text_field :deputy_of, placeholder:  PositionApplication.human_attribute_name(:deputy_of), class: 'field half', style: 'display:none;'
      = f.text_area :personal_statement, placeholder: PositionApplication.human_attribute_name(:personal_statement), class: 'wide'
      .button-row
        a.cancel.close-modal.btn(href='#') = t 'modals.cancel'
        input.submit.js-submit.btn(type='submit' value="#{t 'modals.send'}")

Fix preselection to be highlighted
Fix preselection to be highlighted
experq/hhj,ayystudentunion/hhj,experq/hhj,experq/hhj,ayystudentunion/hhj,ayystudentunion/hhj,experq/hhj,ayystudentunion/hhj