Commit 614dcae0 authored by Chrysanthi Lagodimou's avatar Chrysanthi Lagodimou
Browse files

salutations first

parent 85222129
......@@ -8,15 +8,15 @@
.table-responsive
table.table.table-no-border-top
tbody
= render 'contacts/show', contact: @client.contact
tr
td= t_attr(:birth_year)
td= @client.birth_year.try(:year)
tr
td= t_attr(:salutation)
td
- if @client.salutation?
= t("salutation.#{@client.salutation}")
= render 'contacts/show', contact: @client.contact
tr
td= t_attr(:birth_year)
td= @client.birth_year.try(:year)
tr
td= t_attr(:nationality)
td= nationality_name(@client.nationality)
......
......@@ -52,13 +52,13 @@ h3= t('personal_background')
.table-responsive
table.table.table-no-border-top
tbody
tr
td= t_attr(:salutation)
td= t("salutation.#{@volunteer.salutation}") if @volunteer.salutation?
= render 'contacts/show', contact: @volunteer.contact
tr
td= t_attr(:birth_year)
td= @volunteer.birth_year.try(:year)
tr
td= t_attr(:salutation)
td= t("salutation.#{@volunteer.salutation}") if @volunteer.salutation?
tr
td= t_attr(:avatar)
td= image_tag @volunteer.avatar.url(:thumb) if @volunteer.avatar.present?
......
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