iplemented rails admin

This commit is contained in:
2016-04-22 11:10:40 +02:00
parent b2b0c7c22c
commit 1482d3d4ec
9 changed files with 258 additions and 34 deletions
-25
View File
@@ -1,25 +0,0 @@
h1 #{@supporters.count} Unterstützer
table.table
tr
th Eingeschrieben
th Adresse
th Unterstützung
th width="20%" Kommentar
- @supporters.each do |supporter|
tr
td = distance_of_time_in_words_to_now(supporter.created_at)
td
address
= "#{supporter.first_name} #{supporter.last_name}"
=
br
= supporter.street
br
= "#{supporter.zip} #{supporter.city}"
td
= supporter.support
- if supporter.li_membership
br
| Mitgliedschaft
td = supporter.comments