position_detail.haml 400 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

Arnaud Fabre's avatar
Arnaud Fabre committed
15
16
17
18
    %p
      Source :
      %a{:href => '{{object.link}}'}
        = object.link