Manage publicities

This commit is contained in:
2017-04-14 11:34:01 +02:00
parent dd5e22ea48
commit 281caaf0fd
20 changed files with 176 additions and 19 deletions
+19
View File
@@ -0,0 +1,19 @@
h1 = title t('.title')
table.table
tbody
- @pending.each do | supporter |
tr
td
= "#{supporter.first_name} #{supporter.last_name}"
br
= supporter.city
br
= mail_to supporter.email, supporter.email
br
= supporter.publicity.organisation
td width="50%" = supporter.publicity.statement
td = image_tag(supporter.publicity.avatar.url(:small))
td = link_to t('shared.edit'), edit_admin_publicity_path(supporter)