Skip to content

Commit

Permalink
Select default_branch_adress by default in cv export
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin481 committed Jun 3, 2024
1 parent c52b7cf commit 2cbe3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/people/export_cv/_export_form.html.haml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= form_with(url: person_path(format: 'odt'), method: 'get', data: {controller: "skills-filter"}) do |f|
.mb-2.w-100
= f.label 'Niederlassung (für Footer):', class: "form-label w-100"
= f.collection_select :location, BranchAdress.all, :id, :short_name, {}, class: "form-select w-100"
= f.collection_select :location, BranchAdress.all, :id, :short_name, {selected: BranchAdress.find_by(default_branch_adress: true).id}, class: "form-select w-100"
.mb-2.w-100.form-check.form-switch
= f.check_box :includeCS, class: "form-check-input"
= f.label 'Kernkompetenzen - Skills', class: "form-check-label w-100"
Expand Down

0 comments on commit 2cbe3de

Please sign in to comment.