Commit 5b49001f authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Cleanup old templates

parent 811f4dcd
- load bootstrap3
%form{:action => '{% url "representatives_positions:position-create" %}',
:method => 'post'}
- csrf_token
- bootstrap_form form
- buttons
%button{'type': 'submit', 'class': 'btn btn-primary'}
{% bootstrap_icon "star" %} Submit
- endbuttons
- extends 'base.html'
- load humanize
- block content
- include 'representatives/_representative_block.html' with representative=object.representative
.quote
%p.quote-header
{{object.datetime|naturalday}}, {{object.representative.full_name}} declared :
.long-quote
= object.text|linebreaks
%p
Source :
%a{:href => '{{object.link}}'}
= object.link
- extends 'base.html'
- block head
{{ form.media }}
- block content
- include 'representatives_positions/_form.html'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment