summaryrefslogtreecommitdiff
path: root/source/mitmachen/projekte.html.haml
blob: 9e247ade321e42dec3257319f37c45d5feffa920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
section: "mitmachen"
---
%div
  %h2 Projekte
  %p
    = lorem.sentences(3)
  .row
    - projects.each do |project|
      %div{class: project_classes(project)}
        %h4
          = project.name
        -# = image_with_thumb(prinfo["bild"], width: 400)
        = image_tag(lorem.image("400x300"))
        %p
          = project.text
          - if project.link
            %br
            = link_to "Weitere Infos", project.link