Verified Commit 0fc93875 authored by Markus Koller's avatar Markus Koller 🦊
Browse files

Tweak display of volunteer experience

parent eb6394f9
......@@ -12,6 +12,8 @@
}
.dl-horizontal {
margin-bottom: 0;
dt {
font-weight: normal;
text-align: left;
......
......@@ -9,8 +9,9 @@ module VolunteerAttributes
:skills, :interests, :man, :woman, :family, :kid, :teenager, :unaccompanied, :other_offer_desc,
:trial_period, :doc_sent, :bank_account, :evaluation, :own_kids, :rejection_type,
:rejection_text, :intro_course, :flexible, :morning, :afternoon, :evening, :working_percent,
:workday, :weekend, :detailed_description, contact_attributes,
language_skills_attributes, availability_attributes, group_offer_category_ids: []
:workday, :weekend, :detailed_description, :volunteer_experience_desc,
contact_attributes, language_skills_attributes, availability_attributes,
group_offer_category_ids: []
]
end
end
......
......@@ -70,9 +70,10 @@ h2.small Persönlicher Hintergrund
tr
td= t_attr(:experience)
td
dl.dl-horizontal
dt= t(@volunteer.experience)
dd= @volunteer.volunteer_experience_desc if @volunteer.volunteer_experience_desc?
- if @volunteer.experience?
dl.dl-horizontal
dt= t(@volunteer.experience)
dd= @volunteer.volunteer_experience_desc
tr
td= t_attr(:expectations)
td= @volunteer.expectations
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment