diff --git a/app/views/people/edit.html.haml b/app/views/people/edit.html.haml index 29e6e6050..351851ad3 100644 --- a/app/views/people/edit.html.haml +++ b/app/views/people/edit.html.haml @@ -6,60 +6,60 @@ %div.pe-5.d-flex %table %tbody - %th.fw-light Name + %th.fw-normal Name %tr %td= form.text_field :name, class: "w-100 form-control" - %th.fw-light Email + %th.fw-normal Email %tr %td= form.text_field :email, class: "w-100, form-control" - %th.fw-light Abschluss + %th.fw-normal Abschluss %tr %td= form.text_field :title, class: "w-100, form-control" - %th.fw-light Funktionen + %th.fw-normal Funktionen - @person.roles.each do |role| %tr %td - %div.border.border-dark-subtle.rounded.p-1 + %div.border.border-dark-subtle.rounded.p-1.fw-light Rolle = form.collection_select :role_ids, Role.order(:name), :id, :name, { selected: role.id }, class: "form-select w-100" %div Stufe - %div.d-flex + %div.d-flex.fw-light = form.collection_select :person_role_level_id, PersonRoleLevel.order(:level), :id, :level, {}, class: "form-select w-50 me-1" = form.number_field :percent, step: 1, class: "form-control w-50" - %th.fw-light Organisationseinheit : + %th.fw-normal Organisationseinheit : %tr %td= form.collection_select :department_id, Department.order(:name), :id, :name, {}, class: "form-select w-100" - %th.fw-light Firma + %th.fw-normal Firma %tr %td= form.collection_select :company_id, Company.order(:name), :id, :name, {}, class: "form-select w-100" - %th.fw-light Wohnort (Stadt) + %th.fw-normal Wohnort (Stadt) %tr %td= form.text_field :location, class: "form-control w-100" %div.pe-5 %table %tbody - %th.fw-light Geburtsdatum + %th.fw-normal Geburtsdatum %tr %td= form.date_field :birthdate, class: "form-control w-100" - %th.fw-light Doppelbürger + %th.fw-normal Doppelbürger %tr %td= check_box :nationality2?, { checked: @person.nationality2? } - %th.fw-light Erste Nationalität + %th.fw-normal Erste Nationalität %tr %td= form.collection_select :nationality, ISO3166::Country.all.sort, :alpha2, :name, {}, class: "form-select w-100" - if @person.nationality2? - %th.fw-light Zweite Nationalität + %th.fw-normal Zweite Nationalität %tr %td= form.collection_select :nationality2, ISO3166::Country.all.sort, :alpha2, :name, {}, class: "form-select w-100" - %th.fw-light Zivilstand + %th.fw-normal Zivilstand %tr %td= form.collection_select :marital_status, Person.marital_statuses, :first, :first, { selected: Person.marital_statuses[@person.marital_status] }, class: "form-select w-100" %div - %div.fw-light Sprachen + %div.fw-normal Sprachen %div.border.border-dark-subtle.mt-1.p-2.rounded - @person.language_skills.each do |language| %div.mb-1= "#{language.language}: #{language.level} - #{language.certificate}" - = form.submit :Submit + = form.submit :Speichern, class: "btn btn-primary" = link_to "Abbrechen", person_path \ No newline at end of file