= simple_form_for @person, :html => {:multipart => true} do |f|
  %fieldset
    = f.error_notification
    .form-person
      = f.input :given_name, as: :string
    .form-person
      = f.input :surname, as: :string
    .form-person
      = f.input :location, as: :string
    .form-person
      .membership
        %label Membership
        = link_to 'Add another', new_membership_path(person_id: @person.id)
    .form-person
      = f.input :phone, as: :string
    .form-person
      = f.input :mobile, as: :string
    .form-person
      = f.input :email, as: :string
    .form-person
      = f.input :description
    .form-person
      = f.input :keywords, as: :string
    .form-checkbox
      - [:works_monday, :works_tuesday, :works_wednesday, :works_thursday, :works_friday].each do |day|
        = f.input day, as: :boolean, label: day.to_s.titleize
    .form-person
      = f.input :image, as: :file
    .form-person
      = f.button :submit

    - unless @person.new_record?
      .form-person
        = link_to 'Delete this record', person_path(@person), method: :delete
= simple_form_for @person, :html => {:multipart => true} do |f|
  %fieldset
    = f.error_notification
    .form-group
      = f.input :given_name, as: :string
    .form-group
      = f.input :surname, as: :string
    .form-group
      = f.input :location, as: :string
    .form-group
      .membership
        %label Membership
        = link_to 'Add another', new_membership_path(person_id: @person.id)
    .form-group
      = f.input :phone, as: :string
    .form-group
      = f.input :mobile, as: :string
    .form-group
      = f.input :email, as: :string
    .form-group
      = f.input :description
    .form-group
      = f.input :keywords, as: :string
    .form-checkbox
      - [:works_monday, :works_tuesday, :works_wednesday, :works_thursday, :works_friday].each do |day|
        = f.input day, as: :boolean, label: day.to_s.titleize
    .form-group
      = f.input :image, as: :file
    .form-group
      = f.button :submit

    - unless @person.new_record?
      .form-group
        = link_to 'Delete this record', person_path(@person), method: :delete

Fix CSS on person edit form
Fix CSS on person edit form

form-group is presentational, and doesn't relate to the Group model, so
it should also be form-group here.
