position_detail.haml 496 Bytes
Newer Older
Arnaud Fabre's avatar
Arnaud Fabre committed
1
2
3
4
5
- extends 'base.html'

- load humanize

- block content
Jamesie Pic's avatar
Jamesie Pic committed
6
  - include 'representatives/_representative_block.html' with representative=object.representative
Arnaud Fabre's avatar
Arnaud Fabre committed
7
8
9
  .quote

    %p.quote-header
Jamesie Pic's avatar
Jamesie Pic committed
10
      {{object.datetime|naturalday}}, {{object.representative.full_name}} declared :
Arnaud Fabre's avatar
Arnaud Fabre committed
11
12
13

    .long-quote
      = object.text|linebreaks
14
15
16
17
    %p.tags
      - for tag in object.tags.all
        %span.label.label-default
          = tag
Arnaud Fabre's avatar
Arnaud Fabre committed
18
19
20
21
    %p
      Source :
      %a{:href => '{{object.link}}'}
        = object.link